chore: Sincronizar docker-compose_prod.yml con el sistema de variables de entorno
Some checks failed
CI/CD - Francia Ocupada (La Resistencia) / build-and-deploy (push) Failing after 6s

This commit is contained in:
Resistencia Dev
2025-12-22 17:55:12 +01:00
parent 2a9d89ed9e
commit ae9e268467

View File

@@ -5,6 +5,8 @@ services:
build:
context: .
dockerfile: client/Dockerfile
args:
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-https://api.franciaocupada.martivich.es}
ports:
- "3000:3000"
volumes:
@@ -12,7 +14,7 @@ services:
- ./shared:/app/shared
- /app/client/node_modules
environment:
- NEXT_PUBLIC_API_URL=https://api.franciaocupada.martivich.es
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-https://api.franciaocupada.martivich.es}
depends_on:
- server
networks:
@@ -32,8 +34,8 @@ services:
- /app/server/node_modules
environment:
- PORT=4000
- DATABASE_URL=postgresql://postgres:password@db:5432/resistencia
- CORS_ORIGIN=https://franciaocupada.martivich.es
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:password@db:5432/resistencia}
- CORS_ORIGIN=${CORS_ORIGIN:-https://franciaocupada.martivich.es}
depends_on:
- db
networks: