Made the healthchecks more consistent alongside of templates.
This commit is contained in:
@@ -14,14 +14,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- 'privatebin-data:/srv/data'
|
- 'privatebin-data:/srv/data'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/"]
|
||||||
- CMD
|
interval: 5s
|
||||||
- wget
|
timeout: 20s
|
||||||
- '--spider'
|
retries: 10
|
||||||
- '-q'
|
|
||||||
- 'http://localhost:8080/'
|
|
||||||
interval: 30s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 3
|
|
||||||
start_period: 10s
|
|
||||||
disable: false
|
|
||||||
|
|||||||
@@ -40,12 +40,7 @@ services:
|
|||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/"]
|
||||||
- CMD
|
interval: 5s
|
||||||
- wget
|
timeout: 20s
|
||||||
- '--spider'
|
retries: 10
|
||||||
- '-q'
|
|
||||||
- '--tries=1'
|
|
||||||
- 'http://localhost:8080/settings'
|
|
||||||
interval: 5m
|
|
||||||
timeout: 3s
|
|
||||||
|
|||||||
Reference in New Issue
Block a user