diff --git a/backend/.env b/backend/.env index c7c98ef9..ad307c7d 100644 --- a/backend/.env +++ b/backend/.env @@ -1,5 +1,5 @@ POSTGRES_USER=user POSTGRES_PASSWORD=password POSTGRES_DB=mydb -POSTGRES_HOST=postgres +POSTGRES_HOST=localhost POSTGRES_PORT=5432 diff --git a/compose.yml b/compose.yml index eeec2853..69b69542 100644 --- a/compose.yml +++ b/compose.yml @@ -9,6 +9,7 @@ services: - "8000:8000" environment: ENVIRONMENT: production + POSTGRES_HOST: postgres depends_on: postgres: condition: service_healthy