Add healthcheck, update metadata

This commit is contained in:
3wc 2024-03-30 16:05:32 -03:00
parent a0e8ba4839
commit 4421f81a35
2 changed files with 8 additions and 2 deletions

View File

@ -4,11 +4,11 @@
<!-- metadata -->
* **Category**: Development
* **Status**: 3, stable
* **Status**: 5
* **Image**: [`gitea/gitea`](https://hub.docker.com/gitea/gitea), 4, upstream
* **Healthcheck**: Yes
* **Backups**: Yes
* **Email**: ?
* **Email**: Yes
* **Tests**: 2
* **SSO**: 3 (OAuth)
<!-- endmetadata -->

View File

@ -49,6 +49,12 @@ services:
networks:
- proxy
- internal
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
deploy:
update_config:
failure_action: rollback