refactor(docker): replace env_file with explicit environment variables
CI / Web CI (push) Failing after 9s
CI / API CI (push) Failing after 10s

- Remove env_file references from docker-compose.yml and docker-compose.prod.yml
- Add explicit environment variable forwarding for all services
- Use TRAEFIK_NETWORK env var in docker-compose.traefik.yml instead of hardcoded name
- Add VITE_* frontend variables to .env.example and deploy/.env.example
- Add missing production variables (TRAEFIK_ENTRYPOINT, TRAEFIK_CERT_RESOLVER) to deploy/.env.example

This makes environment configuration more explicit and easier to manage
across different deployment scenarios (local dev, CI/CD, Portainer).
This commit is contained in:
2026-05-16 11:50:39 +00:00
parent a443127779
commit dab37a88e8
5 changed files with 37 additions and 6 deletions
+1
View File
@@ -23,4 +23,5 @@ services:
networks:
traefik:
name: ${TRAEFIK_NETWORK:-traefik}
external: true