chore: refine media path configuration in environment files
Deploy Development / deploy (push) Successful in 36s
Test Suite / pytest-backend (push) Successful in 25s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 8s
Test Suite / playwright-tests (push) Failing after 1m43s

- Updated .env.example to clarify SHINKAN_MEDIA_HOST usage for different environments.
- Modified docker-compose files to set default values for SHINKAN_MEDIA_HOST, ensuring consistent media path handling in development and production.
- Enhanced comments for better understanding of media path configurations.
This commit is contained in:
Lars committed 2026-05-08 08:41:27 +02:00
1 parent c921f0dd8f
commit 5b13a0a526
5 files changed
+80 -6

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ APP_URL=https://shinkan.jinkendo.de
ALLOWED_ORIGINS=https://shinkan.jinkendo.de
ENVIRONMENT=production
# Host-Pfad auf dem Rechner (Bind-Mount); im Container siehe MEDIA_ROOT. Pflicht für docker compose up.
# Host-Pfad (Bind-Mount). Compose-Defaults: Prod /shinkan-media, Dev /shinkan-media/dev — hier nur setzen zum Überschreiben.
SHINKAN_MEDIA_HOST=/shinkan-media
# Optional: Pfad im Container (FastAPI MEDIA_ROOT); Standard reicht fast immer.
MEDIA_ROOT=/app/media