Healthcheck hinzugefügt
This commit is contained in:
@@ -23,4 +23,10 @@ services:
|
|||||||
- GITEA__database__PASSWD=dbpass
|
- GITEA__database__PASSWD=dbpass
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
- USER_GID=1000
|
- USER_GID=1000
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000/api/healthz"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 40s
|
||||||
networks: {}
|
networks: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user