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