Update docker-compose.yml
This commit is contained in:
parent
98671817ee
commit
ea963e23ec
|
@ -11,13 +11,14 @@ services:
|
|||
environment:
|
||||
- SECRET_KEY=${TANDOOR_SECRET_KEY}
|
||||
- DB_ENGINE=django.db.backends.postgresql
|
||||
- POSTGRES_HOST=tandoor_db
|
||||
- POSTGRES_HOST=tandoor-db
|
||||
- POSTGRES_PORT=5432
|
||||
- POSTGRES_USER=djangodb
|
||||
- POSTGRES_USER=tandoor
|
||||
- POSTGRES_PASSWORD=${TANDOOR_POSTGRESS_PASSWORD}
|
||||
- POSTGRES_DB=djangodb
|
||||
- POSTGRES_DB=tandoordb
|
||||
networks:
|
||||
- tipi_main_network
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
# Main
|
||||
traefik.enable: true
|
||||
|
@ -44,17 +45,18 @@ services:
|
|||
traefik.http.routers.tandoor-local.service: tandoor
|
||||
traefik.http.routers.tandoor-local.tls: true
|
||||
depends_on:
|
||||
- tandoor_db
|
||||
- tandoor-db
|
||||
|
||||
tandoor_db:
|
||||
tandoor-db:
|
||||
image: postgres:15-alpine
|
||||
container_name: tandoor_db
|
||||
container_name: tandoor-db
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/postgresql:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PORT=5432
|
||||
- POSTGRES_USER=djangodb
|
||||
- POSTGRES_USER=tandoor
|
||||
- POSTGRES_PASSWORD=${TANDOOR_POSTGRESS_PASSWORD}
|
||||
- POSTGRES_DB=djangodb
|
||||
- POSTGRES_DB=tandoordb
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- tipi_main_network
|
||||
|
|
Loading…
Reference in New Issue
Block a user