Add database for tandoor.
This commit is contained in:
parent
ebae1d2b8c
commit
8462d98870
|
@ -43,3 +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:
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user