Initial commit.
This commit is contained in:
19
container-compose.yml
Normal file
19
container-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
container_name: jellyfin
|
||||
network_mode: 'host'
|
||||
volumes:
|
||||
- /etc/jellyfin:/config
|
||||
- /var/lib/jellyfin/cache:/cache
|
||||
- type: bind
|
||||
source: /nfs/media
|
||||
target: /media
|
||||
read_only: true
|
||||
restart: 'unless-stopped'
|
||||
# Optional - alternative address used for autodiscovery
|
||||
environment:
|
||||
- JELLYFIN_PublishedServerUrl=http://jellyfin.p1.bitstorm.co.nz
|
||||
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
Reference in New Issue
Block a user