Update docker-compose.yml

pull/9/head
LRVT 2023-03-01 11:07:55 +01:00 zatwierdzone przez GitHub
rodzic b8f58fcee0
commit ca81b007f5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -1,11 +1,15 @@
version: '3.3' version: '3.3'
services: services:
jellyfin: jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin container_name: jellyfin
volumes: volumes:
- '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jellyfin/config:/config' - '${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/cache:/cache'
- '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jellyfin/media:/media' - '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/jellyfin/media:/media'
network_mode: host network_mode: host
image: 'jellyfin/jellyfin:latest' restart: unless-stopped
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