gitea : add healthcheck
This commit is contained in:
parent
b945ce7866
commit
a8bb7de7b9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue