With links and fixed names...
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2023-05-05 09:09:06 -04:00
parent f482750d08
commit ad9ffc89b5
2 changed files with 4 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ services:
- ROUTE_PREFIX=${ROUTE_PREFIX}
- LOGIN_ROUTE=${LOGIN_ROUTE}
- RESET_ROUTE=${RESET_ROUTE}
- DB_HOST=${SERVICE_NAME}_${DB_TYPE}
- DB_HOST=${CONTAINER_PREFIX}-${SERVICE_NAME}_${DB_TYPE}
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
- DB_NAME=${DB_NAME}
@@ -46,6 +46,8 @@ services:
- docknet
restart: unless-stopped
image: node
links:
- auth-service_mongo:${CONTAINER_PREFIX}-${SERVICE_NAME}_${DB_TYPE}
depends_on:
- auth-service_mongo
networks: