41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
services:
|
|
jellyfin:
|
|
image: jellyfin/jellyfin
|
|
container_name: jellyfin
|
|
# Optional - specify the uid and gid you would like Jellyfin to use instead of root
|
|
user: 1000:1000
|
|
ports:
|
|
- 8096:8096/tcp
|
|
- 7359:7359/udp
|
|
volumes:
|
|
- jellyfin_config:/config
|
|
- jellyfin_cache:/cache
|
|
- havenuser_movies:/movies
|
|
- havenuser_tvshows:/tvshows
|
|
# Optional - extra fonts to be used during transcoding with subtitle burn-in
|
|
restart: 'unless-stopped'
|
|
# Optional - alternative address used for autodiscovery
|
|
environment:
|
|
- JELLYFIN_PublishedServerUrl=https://jellyfin.hvn.nz
|
|
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
|
|
# extra_hosts:
|
|
# - 'host.docker.internal:host-gateway'
|
|
networks:
|
|
- haven_internal
|
|
networks:
|
|
haven_internal:
|
|
name: haven_internal
|
|
external: true
|
|
volumes:
|
|
jellyfin_config:
|
|
name: jellyfin_config
|
|
external: true
|
|
jellyfin_cache:
|
|
name: jellyfin_cache
|
|
external: true
|
|
havenuser_movies:
|
|
name: havenuser_movies
|
|
external: true
|
|
havenuser_tvshows:
|
|
name: havenuser_tvshows
|
|
external: true |