Fix mapping.

This commit is contained in:
Stavros Iliopoulos 2023-08-13 11:16:53 +00:00
parent 8462d98870
commit 0ffcabf3dc

View File

@ -1,5 +1,19 @@
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
@ -46,16 +60,4 @@ services:
depends_on:
- tandoor_db
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