Update docker-compose.yml
This commit is contained in:
parent
2683635bf7
commit
df74dbb31a
|
@ -19,6 +19,12 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: wget --no-verbose --tries=1 --spider http://localhost:8080
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
start_period: 30s
|
||||||
labels:
|
labels:
|
||||||
# Main
|
# Main
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
|
@ -45,7 +51,8 @@ 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:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
tandoor-db:
|
tandoor-db:
|
||||||
image: postgres:15-alpine
|
image: postgres:15-alpine
|
||||||
|
|
Loading…
Reference in New Issue
Block a user