Initial Jellyfin config

This commit is contained in:
3wc 2022-05-06 17:10:52 +01:00
parent 8583c24246
commit 5eb5020a6b
2 changed files with 14 additions and 1 deletions

View File

@ -6,3 +6,6 @@ DOMAIN=jellyfin.example.com
#EXTRA_DOMAINS=', `www.jellyfin.example.com`' #EXTRA_DOMAINS=', `www.jellyfin.example.com`'
LETS_ENCRYPT_ENV=production LETS_ENCRYPT_ENV=production
# Set to an existing path on the host, and define a path inside the container
EXTRA_VOLUME=/dev/null:/tmp/.dummy

View File

@ -3,9 +3,15 @@ version: "3.8"
services: services:
app: app:
image: nginx:1.20.0 image: jellyfin/jellyfin:10.7.7
environment:
- JELLYFIN_PublishedServerUrl=https://${DOMAIN}
networks: networks:
- proxy - proxy
volumes:
- jellyfin_config:/config
- jellyfin_cache:/cache
- ${EXTRA_VOLUME}
deploy: deploy:
restart_policy: restart_policy:
condition: on-failure condition: on-failure
@ -27,6 +33,10 @@ services:
retries: 10 retries: 10
start_period: 1m start_period: 1m
volumes:
jellyfin_config:
jellyfin_cache:
networks: networks:
proxy: proxy:
external: true external: true