Compose-Examples/examples/jellyfin/docker-compose.yml

16 lines
742 B
YAML
Raw Normal View History

2023-02-28 18:18:29 +00:00
version: '3.3'
services:
jellyfin:
2023-03-01 10:07:55 +00:00
image: jellyfin/jellyfin:latest
2023-02-28 18:18:29 +00:00
container_name: jellyfin
volumes:
2023-03-01 10:09:03 +00:00
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jellyfin/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jellyfin/cache:/cache
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jellyfin/media:/media
2023-02-28 18:18:29 +00:00
network_mode: host
2023-03-01 10:07:55 +00:00
restart: unless-stopped
#environment:
# - JELLYFIN_PublishedServerUrl=http://example.com # Optional - alternative address used for autodiscovery
#extra_hosts:
# - "host.docker.internal:host-gateway" # Optional - may be necessary for docker healthcheck to pass if running in host network mode