docker-compose.yml - reverse proxy the jellyfin container as virtual host

we need to take it of host network mode, add it to the proxy-tier and
default networks, then enable proxying and lets-encrypt.

Tested, works.
This commit is contained in:
Nick Stokoe
2021-12-02 14:39:06 +00:00
parent 15ce90e098
commit 12f3fcbaaf
3 changed files with 10 additions and 3 deletions

View File

@@ -124,9 +124,11 @@ services:
- jellyfin_config:/config
- jellyfin_cache:/cache
- minidlna_data:/media
network_mode: host
environment:
- JELLYFIN_PublishedServerUrl=http://snackpot.local
networks:
- proxy-tier
- default
env_file:
- jellyfin.env
minidlna:
image: vladgh/minidlna:latest

View File

@@ -0,0 +1,4 @@
VIRTUAL_HOST={{ jellyfin_hostname }}
JELLYFIN_PublishedServerUrl=https://{{ jellyfin_hostname }}/
LETSENCRYPT_HOST={{ jellyfin_hostname }}
LETSENCRYPT_EMAIL={{ letsencrypt_email }}