forked from coop-cloud/jellyfin
Initial Jellyfin config
This commit is contained in:
parent
8583c24246
commit
5eb5020a6b
|
@ -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
|
||||||
|
|
12
compose.yml
12
compose.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue