From 49a97755bcab32026daf1554b87563c6f4be5a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 15 Nov 2025 06:44:32 +0100 Subject: [PATCH] feat: add persistent Koel configuration via environment variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add MEDIA_PATH, STORAGE_DRIVER, TRUSTED_PROXIES, and FORCE_HTTPS to environment - Apply settings to both koel and koel_init containers - Ensures configuration persists across container restarts without manual intervention 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- media/compose.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/media/compose.yaml b/media/compose.yaml index e3f7359..ad806fe 100644 --- a/media/compose.yaml +++ b/media/compose.yaml @@ -89,6 +89,12 @@ services: DB_PASSWORD: ${DB_PASSWORD} MEMORY_LIMIT: ${MEDIA_KOEL_MEMORY_LIMIT:-512M} STREAMING_METHOD: ${MEDIA_KOEL_STREAMING_METHOD:-x-sendfile} + # Media and storage configuration + MEDIA_PATH: /music + STORAGE_DRIVER: local + # Proxy configuration + TRUSTED_PROXIES: '*' + FORCE_HTTPS: 'true' networks: - compose_network labels: @@ -133,6 +139,12 @@ services: DB_DATABASE: ${MEDIA_KOEL_DB_NAME} DB_USERNAME: ${DB_USER} DB_PASSWORD: ${DB_PASSWORD} + # Media and storage configuration + MEDIA_PATH: /music + STORAGE_DRIVER: local + # Proxy configuration + TRUSTED_PROXIES: '*' + FORCE_HTTPS: 'true' networks: - compose_network