gitea : add healthcheck

This commit is contained in:
Gitouche 2023-08-10 22:55:02 +02:00
parent b945ce7866
commit a8bb7de7b9

View file

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