mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 08:46:25 +00:00
18 lines
No EOL
509 B
YAML
18 lines
No EOL
509 B
YAML
version: '3.5'
|
|
services:
|
|
jellyfin:
|
|
image: docker.io/jellyfin/jellyfin
|
|
container_name: jellyfin
|
|
user: root:root
|
|
# network_mode: 'host'
|
|
ports:
|
|
- 8096:8096
|
|
volumes:
|
|
- /opt/jellyfin/config:/config
|
|
- /opt/jellyfin/cache:/cache
|
|
- /storage/hdds/plex:/media
|
|
# - /path/to/media2:/media2:ro
|
|
restart: 'unless-stopped'
|
|
# Optional - alternative address used for autodiscovery
|
|
environment:
|
|
- JELLYFIN_PublishedServerUrl=http://blck0.tail9c8a7.ts.net |