gitea : fix healthcheck
This commit is contained in:
parent
a8bb7de7b9
commit
20f3512ef2
|
@ -13,10 +13,11 @@ services:
|
|||
- ${weblisten_if}:${weblisten_port}:3000
|
||||
- ${sshlisten_if}:${sshlisten_port}:22
|
||||
healthcheck:
|
||||
test: ["CMD", "/healthcheck.sh"]
|
||||
test: ["CMD", "curl", "-fSs", "http://localhost:3000/api/healthz"]
|
||||
interval: 60s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 5s
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
|
|
Loading…
Reference in a new issue