gitea : add healthcheck

This commit is contained in:
Gitouche 2023-08-10 22:55:02 +02:00
parent b945ce7866
commit a8bb7de7b9
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ services:
ports:
- ${weblisten_if}:${weblisten_port}:3000
- ${sshlisten_if}:${sshlisten_port}:22
healthcheck:
test: ["CMD", "/healthcheck.sh"]
interval: 60s
timeout: 10s
retries: 5
depends_on:
- db