Skip to content

Commit f080a4b

Browse files
committed
Improve healthcheck
1 parent a219942 commit f080a4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/compose/organizr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
volumes:
1515
- organizr-data:/config
1616
healthcheck:
17-
test: ["CMD", "curl", "-f", "http://localhost:80"]
18-
interval: 2s
19-
timeout: 10s
20-
retries: 30
17+
test: ["CMD-SHELL", "curl -sf http://localhost:80 || exit 1"]
18+
interval: 10s
19+
timeout: 1s
20+
retries: 3

0 commit comments

Comments
 (0)