This commit is contained in:
2025-08-16 09:37:54 -03:00
parent f11944c6ee
commit 16a6664e7c
2 changed files with 7 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ services:
- ./.env
networks:
- shared-net # Solo necesita acceso a la DB y a la API electoral (internet).
entrypoint: ["sh", "-c", "printenv | grep ElectoralApi"]
# No se exponen puertos.
# Servicio del Frontend (servido por Nginx)
@@ -59,7 +60,6 @@ networks:
elecciones-net:
driver: bridge
# Asumimos que la red 'shared-net' ya existe en Docker.
# Para crearla manualmente: docker network create shared-net
# La red 'shared-net' ya existe en Docker.
shared-net:
external: true