18 lines
609 B
YAML
18 lines
609 B
YAML
|
version: '3.5'
|
||
|
services:
|
||
|
jellyfin:
|
||
|
image: jellyfin/jellyfin
|
||
|
container_name: jellyfin
|
||
|
# user: uid:gid
|
||
|
network_mode: 'host'
|
||
|
volumes:
|
||
|
- /home/nick/docker/jellyfin:/config
|
||
|
- /home/nick/docker/jellyfin/cache:/cache
|
||
|
- /mnt:/media
|
||
|
restart: 'unless-stopped'
|
||
|
# Optional - alternative address used for autodiscovery
|
||
|
environment:
|
||
|
- JELLYFIN_PublishedServerUrl=https://tv.tff.digital.com
|
||
|
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
|
||
|
# extra_hosts:
|
||
|
# - "host.docker.internal:host-gateway"
|