Update docker-compose files to use configurable environment variables

- Replace hardcoded paths with variables: STACKS_DIR, PROJECTS_DIR, MEDIA_DIR, DOWNLOAD_DIR
- Update .env.example with new variable definitions
- Remove unused .template files
- Enable configurable directory paths for stacks, media, and downloads
This commit is contained in:
2026-02-10 17:55:47 -05:00
parent 5fcd10895a
commit 363530f395
28 changed files with 295 additions and 2802 deletions

View File

@@ -32,11 +32,11 @@ services:
volumes:
- ./jellyfin/config:/config
- ./jellyfin/cache:/cache
- /mnt/media:/media:ro # Large media files on separate drive
- ${MEDIA_DIR}:/media:ro # Large media files on separate drive
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- PUID=${PUID}
- PGID=${PUID}
- TZ=${TZ}
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8096/']
interval: 30s
@@ -88,11 +88,11 @@ services:
- '8083:8083'
volumes:
- ./calibre-web/config:/config
- /mnt/media/books:/books
- ${MEDIA_DIR}/books:/books
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- PUID=${PUID}
- PGID=${PUID}
- TZ=${TZ}
- DOCKER_MODS=linuxserver/mods:universal-calibre
# TRAEFIK CONFIGURATION
labels: