All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 2m20s
40 lines
964 B
YAML
40 lines
964 B
YAML
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"
|
|
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
|
|
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
|