Project-Image-Uploader/docker/.env.frontend.example
matthias.lotz dd71dcab44 feat: ENV-Struktur massiv vereinfacht (Phase 6)
- Von 16 .env Dateien auf 2 zentrale reduziert
  * docker/dev/.env - Development Secrets
  * docker/prod/.env - Production Secrets

- Alle ENV-Variablen jetzt in docker-compose.yml environment sections
- .env COPY aus allen Dockerfiles entfernt (wurden durch volume mounts überschrieben)
- Frontend env.sh umgeschrieben: Liest ENV-Variablen statt .env Datei
- CLIENT_URL komplett entfernt (wurde nirgendwo verwendet)

- Fix: management.js nutzt platform_name statt name (DB-Schema korrekt)

ENV-Handling jetzt deutlich einfacher und wartbarer!
Von 4 Frontend ENV-Variablen auf 3 reduziert (API_URL, PUBLIC_HOST, INTERNAL_HOST)
2025-11-30 13:19:24 +01:00

9 lines
373 B
Plaintext

# Frontend Environment Variables
# These variables are used in both development and production containers
# Backend API URL - where the frontend should connect to the backend
# Development: http://backend-dev:5000 (container-to-container)
# Production: http://backend:5000 (container-to-container)
API_URL=http://backend:5000
# Public/Internal host separation (optional)