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
Some checks failed
CI/CD - Francia Ocupada (La Resistencia) / build-and-deploy (push) Failing after 6s
This commit is contained in:
@@ -5,6 +5,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: client/Dockerfile
|
dockerfile: client/Dockerfile
|
||||||
|
args:
|
||||||
|
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-https://api.franciaocupada.martivich.es}
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -12,7 +14,7 @@ services:
|
|||||||
- ./shared:/app/shared
|
- ./shared:/app/shared
|
||||||
- /app/client/node_modules
|
- /app/client/node_modules
|
||||||
environment:
|
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:
|
depends_on:
|
||||||
- server
|
- server
|
||||||
networks:
|
networks:
|
||||||
@@ -32,8 +34,8 @@ services:
|
|||||||
- /app/server/node_modules
|
- /app/server/node_modules
|
||||||
environment:
|
environment:
|
||||||
- PORT=4000
|
- PORT=4000
|
||||||
- DATABASE_URL=postgresql://postgres:password@db:5432/resistencia
|
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:password@db:5432/resistencia}
|
||||||
- CORS_ORIGIN=https://franciaocupada.martivich.es
|
- CORS_ORIGIN=${CORS_ORIGIN:-https://franciaocupada.martivich.es}
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user