Files
GestionIntegralWeb/docker-compose.yml

40 lines
964 B
YAML
Raw Permalink Normal View History

services:
# --- Servicio del Backend ---
api-gestion:
image: dmolinari/gestionintegralweb-backend:latest
restart: always
networks:
- shared-net
environment:
- DB_SA_PASSWORD=${DB_SA_PASSWORD}
- ConnectionStrings__DefaultConnection=Server=db-sqlserver;Database=SistemaGestion;User ID=sa;Password=${DB_SA_PASSWORD};MultipleActiveResultSets=True;TrustServerCertificate=True;
ports:
- "8081:8080"
2025-11-05 15:16:58 -03:00
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
# --- Servicio del Frontend ---
web-gestion:
image: dmolinari/gestionintegralweb-frontend:latest
restart: always
networks:
- shared-net
ports:
- "8080:80"
depends_on:
- api-gestion
2025-11-05 15:16:58 -03:00
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
# Nos conectamos a la red que creará el otro stack
shared-net:
external: true