mirror of
https://github.com/tmaier/asn-qr-code-label-generator.git
synced 2026-03-14 16:43:31 +00:00
Optimized health check
This commit is contained in:
parent
8db8659664
commit
9a3fb5d3ba
1 changed files with 2 additions and 2 deletions
|
|
@ -10,8 +10,8 @@ services:
|
|||
- "8080:80"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "--quiet", "http://localhost/"]
|
||||
test: ["CMD-SHELL", "wget --spider --quiet http://127.0.0.1:80/ || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
start_period: 20s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue