From 102dd559f35b23ee61e5c1e7791728df0be4f566 Mon Sep 17 00:00:00 2001 From: Stavros Iliopoulos Date: Sun, 13 Aug 2023 11:28:38 +0000 Subject: [PATCH] Fix db configs... --- apps/tandoor/docker-compose.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/tandoor/docker-compose.yml b/apps/tandoor/docker-compose.yml index 7c17bfe6..078cbd51 100644 --- a/apps/tandoor/docker-compose.yml +++ b/apps/tandoor/docker-compose.yml @@ -11,7 +11,7 @@ services: environment: - SECRET_KEY=${TANDOOR_SECRET_KEY} - DB_ENGINE=django.db.backends.postgresql - - POSTGRES_HOST=db_recipes + - POSTGRES_HOST=tandoor_db - POSTGRES_PORT=5432 - POSTGRES_USER=djangodb - POSTGRES_PASSWORD=${TANDOOR_POSTGRESS_PASSWORD} @@ -47,12 +47,11 @@ services: - tandoor_db tandoor_db: - restart: always image: postgres:15-alpine + container_name: tandoor_db volumes: - ${APP_DATA_DIR}/postgresql:/var/lib/postgresql/data environment: - - POSTGRES_HOST=db_recipes - POSTGRES_PORT=5432 - POSTGRES_USER=djangodb - POSTGRES_PASSWORD=${TANDOOR_POSTGRESS_PASSWORD}