mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
16 lines
742 B
YAML
16 lines
742 B
YAML
version: '3.3'
|
|
services:
|
|
jellyfin:
|
|
image: jellyfin/jellyfin:latest
|
|
container_name: jellyfin
|
|
volumes:
|
|
- ${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
|
|
network_mode: host
|
|
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
|