SA
This commit is contained in:
parent
c11f57ad1b
commit
364018c6b5
1 changed files with 8 additions and 1 deletions
|
|
@ -18,6 +18,12 @@ services:
|
||||||
condition: any
|
condition: any
|
||||||
labels:
|
labels:
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U peekaping -d peekaping -h localhost"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
peekaping:
|
peekaping:
|
||||||
image: ghcr.io/0xfurai/peekaping-bundle-postgres:latest
|
image: ghcr.io/0xfurai/peekaping-bundle-postgres:latest
|
||||||
|
|
@ -33,7 +39,8 @@ services:
|
||||||
- SERVER_PORT=8034
|
- SERVER_PORT=8034
|
||||||
- SERVER_HOST=0.0.0.0
|
- SERVER_HOST=0.0.0.0
|
||||||
depends_on:
|
depends_on:
|
||||||
- peekaping-postgres
|
peekaping-postgres:
|
||||||
|
condition: service_healthy
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue