fix Jellyfin custom env variables overriding jellyfin internal vars

This commit is contained in:
SweetId 2025-01-02 00:41:58 -05:00
parent 94db189099
commit 9ea1488c1a
2 changed files with 6 additions and 6 deletions

View File

@ -12,8 +12,8 @@ services:
- ${JELLYFIN_PORT_HTTP}:8096
- ${JELLYFIN_PORT_HTTPS}:8920
volumes:
- ${JELLYFIN_CONFIG_DIR}:/cache
- ${JELLYFIN_CACHE_DIR}:/config:r
- ${JELLYFIN_CONFIG_DIR_}:/cache
- ${JELLYFIN_CACHE_DIR_}:/config:r
- nas-drive:/data/media:ro
env_file:
- stack.env
@ -23,4 +23,4 @@ volumes:
driver_opts:
type: cifs
o: username=${SAMBA_USERNAME},password=${SAMBA_PASSWORD},vers=3.0
device: ${JELLYFIN_DATA_DIR}
device: ${JELLYFIN_DATA_DIR_}

View File

@ -3,8 +3,8 @@ PGID=1000
TZ=America/Toronto
JELLYFIN_PORT_HTTP=8096
JELLYFIN_PORT_HTTPS=8920
JELLYFIN_CONFIG_DIR=/home/portainer/jellyfin/config
JELLYFIN_CACHE_DIR=/home/portainer/jellyfin/cache
JELLYFIN_DATA_DIR=
JELLYFIN_CONFIG_DIR_=/home/portainer/jellyfin/config
JELLYFIN_CACHE_DIR_=/home/portainer/jellyfin/cache
JELLYFIN_DATA_DIR_=
SAMBA_USERNAME=
SAMBA_PASSWORD=