changed docker host name to service name

This commit is contained in:
Thomas Nahuel Rusiecki 2025-02-18 16:39:13 -03:00
parent 2a36ce3ece
commit 88f694576a
2 changed files with 1 additions and 2 deletions

View file

@ -39,7 +39,7 @@ DEVICEHUB_ALLOWED_HOSTS=${DEVICEHUB_DOMAIN},${DEVICEHUB_DOMAIN}:${DEVICEHUB_PORT
DB_NAME="devicehub"
DB_USER="ereuse"
DB_PASSWORD="ereuse"
DB_HOST=localhost
DB_HOST="devicehub-postgres"
DB_PORT=5432
####

View file

@ -25,7 +25,6 @@ services:
- .:/opt/devicehub-django
ports:
- ${DEVICEHUB_PORT:-8000}:${DEVICEHUB_PORT:-8000}
#https://docs.docker.com/compose/how-tos/startup-order/
depends_on:
devicehub-postgres:
condition: service_healthy