Made the healthchecks more consistent alongside of templates.

This commit is contained in:
librelol
2024-11-15 12:23:39 -05:00
parent be2d9a1c21
commit 25c90964c1
2 changed files with 8 additions and 20 deletions

View File

@@ -14,14 +14,7 @@ services:
volumes:
- 'privatebin-data:/srv/data'
healthcheck:
test:
- CMD
- wget
- '--spider'
- '-q'
- 'http://localhost:8080/'
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
disable: false
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/"]
interval: 5s
timeout: 20s
retries: 10

View File

@@ -40,12 +40,7 @@ services:
cap_drop:
- ALL
healthcheck:
test:
- CMD
- wget
- '--spider'
- '-q'
- '--tries=1'
- 'http://localhost:8080/settings'
interval: 5m
timeout: 3s
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/"]
interval: 5s
timeout: 20s
retries: 10