gitea : fix healthcheck

This commit is contained in:
Gitouche 2023-08-10 23:11:56 +02:00
parent a8bb7de7b9
commit 20f3512ef2
1 changed files with 2 additions and 1 deletions

View File

@ -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