diff --git a/docker-compose.yml b/docker-compose.yml index 30b2144..3b190c8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -78,7 +78,14 @@ services: - "${BACKEND_USERS_API_INTERNAL_PORT}:${BACKEND_USERS_API_INTERNAL_PORT}" 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: - app-network