From bee90027494f5fe4863d38226d8ffe2078c238c3 Mon Sep 17 00:00:00 2001 From: Stavros Iliopoulos Date: Sun, 13 Aug 2023 11:19:36 +0000 Subject: [PATCH] Fix spacing... --- apps/tandoor/docker-compose.yml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/apps/tandoor/docker-compose.yml b/apps/tandoor/docker-compose.yml index cd3f787a..89aca7cd 100644 --- a/apps/tandoor/docker-compose.yml +++ b/apps/tandoor/docker-compose.yml @@ -1,19 +1,5 @@ version: "3.7" services: - tandoor_db: - restart: always - image: postgres:15-alpine - volumes: - - ${APP_DATA_DIR}/postgresql:/var/lib/postgresql/data - enviroment: - - POSTGRES_HOST=db_recipes - - POSTGRES_PORT=5432 - - POSTGRES_USER=djangodb - - POSTGRES_PASSWORD=${TANDOOR_POSTGRESS_PASSWORD} - - POSTGRES_DB=djangodb - networks: - - tipi_main_network - tandoor: container_name: tandoor image: ghcr.io/tandoorrecipes/recipes:1.5.4 @@ -57,7 +43,19 @@ services: traefik.http.routers.tandoor-local.entrypoints: websecure traefik.http.routers.tandoor-local.service: tandoor traefik.http.routers.tandoor-local.tls: true - depends_on: + depends_on: - tandoor_db - \ No newline at end of file + tandoor_db: + restart: always + image: postgres:15-alpine + volumes: + - ${APP_DATA_DIR}/postgresql:/var/lib/postgresql/data + enviroment: + - POSTGRES_HOST=db_recipes + - POSTGRES_PORT=5432 + - POSTGRES_USER=djangodb + - POSTGRES_PASSWORD=${TANDOOR_POSTGRESS_PASSWORD} + - POSTGRES_DB=djangodb + networks: + - tipi_main_network