#develop - adição do frontend da suite e da estrutura completa do módulo de relatórios

This commit is contained in:
2026-07-02 14:42:52 -03:00
parent cd916fb861
commit 9783cb17c9
3 changed files with 68 additions and 6 deletions

View File

@@ -33,6 +33,22 @@ services:
networks:
- app-network
reports-api:
image: ${DOCKER_REPO}/sca-reports-api:${IMAGEM_UNSTABLE_LATEST}
profiles: ["app"]
ports:
- "${BACKEND_REPORTS_API_INTERNAL_PORT}:${BACKEND_REPORTS_API_INTERNAL_PORT}"
environment:
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT}
- MONGODB_CONNECTION_STRING=${MONGODB_CONNECTION_STRING}
- MONGODB_DATABASE=${MONGODB_DATABASE}
- SYSTEM_BASE_CONN=${SYSTEM_BASE_CONN}
- FRONTEND_CONN=${INTERNAL_HOST}:${FRONTEND_REPORTS_APP_INTERNAL_PORT}
- KEEPALIVE_ATTENDANCE_SYSTEM_BACKEND_HOST=${KEEPALIVE_ATTENDANCE_SYSTEM_BACKEND_HOST}
- KEEPALIVE_ATTENDANCE_SYSTEM_FRONTEND_HOST=${KEEPALIVE_ATTENDANCE_SYSTEM_FRONTEND_HOST}
networks:
- app-network
attendancesystem-api:
image: ${DOCKER_REPO}/backend-attendance-system-api:${IMAGEM_UNSTABLE_LATEST}
profiles: ["app"]
@@ -86,6 +102,38 @@ services:
config-generator:
condition: service_completed_successfully
reports-app:
image: ${DOCKER_REPO}/reports-app:${IMAGEM_UNSTABLE_LATEST}
profiles: ["app"]
volumes:
- config-volume:/config-inject:ro
entrypoint: >
sh -c "cp /config-inject/config.json /usr/share/nginx/html/config.json &&
nginx -g 'daemon off;'"
ports:
- "${FRONTEND_REPORTS_APP_INTERNAL_PORT}:${NGINX_DEFAULT_PORT}"
networks:
- app-network
depends_on:
config-generator:
condition: service_completed_successfully
suite-app:
image: ${DOCKER_REPO}/suite-app:${IMAGEM_UNSTABLE_LATEST}
profiles: ["app"]
volumes:
- config-volume:/config-inject:ro
entrypoint: >
sh -c "cp /config-inject/config.json /usr/share/nginx/html/config.json &&
nginx -g 'daemon off;'"
ports:
- "${FRONTEND_SUITE_APP_INTERNAL_PORT}:${NGINX_DEFAULT_PORT}"
networks:
- app-network
depends_on:
config-generator:
condition: service_completed_successfully
networks:
app-network:
name: attendancesystem-network