mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-01-04 07:39:07 +03:00
Implement health check API and update health check commands in Docker and Docker Compose
This commit is contained in:
@@ -18,7 +18,7 @@ services:
|
||||
- DATABASE_URL=sqlite://data/gitea-mirror.db
|
||||
- DELAY=${DELAY:-3600}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:4321/health"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:4321/api/health"]
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user