#develop - adição do frontend da suite e da estrutura completa do módulo de relatórios
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user