#SVTH-575 - Dependências do projeto com postgres e consul.

This commit is contained in:
2026-07-08 17:45:59 -03:00
parent 60555b760b
commit 07db15ad99

View File

@@ -78,7 +78,14 @@ services:
- "${BACKEND_USERS_API_INTERNAL_PORT}:${BACKEND_USERS_API_INTERNAL_PORT}" - "${BACKEND_USERS_API_INTERNAL_PORT}:${BACKEND_USERS_API_INTERNAL_PORT}"
environment: environment:
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT} - ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT}
- SystemBaseConn=${SYSTEM_BASE_CONN} - ConnectionStrings__UsersDb=Host=postgres;Port=5432;Database=seventh_users;Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}
- MongoDbSettings__ConnectionString=mongodb://mongodb:27017
- ConsulSettings__Address=http://consul:8500
depends_on:
postgres:
condition: service_healthy
mongodb:
condition: service_healthy
networks: networks:
- app-network - app-network