diff --git a/jellyfin/docker-compose.yml b/jellyfin/docker-compose.yml new file mode 100755 index 0000000..bffd3a1 --- /dev/null +++ b/jellyfin/docker-compose.yml @@ -0,0 +1,19 @@ +version: '3.5' +services: + jellyfin: + image: jellyfin/jellyfin + container_name: jellyfin + user: uid:gid + network_mode: 'host' + volumes: + - /path/to/config:/config + - /path/to/cache:/cache + - /path/to/media:/media + - /path/to/media2:/media2:ro + restart: 'unless-stopped' + # Optional - alternative address used for autodiscovery + environment: + - JELLYFIN_PublishedServerUrl=http://example.com + # Optional - may be necessary for docker healthcheck to pass if running in host network mode + extra_hosts: + - "host.docker.internal:host-gateway" \ No newline at end of file