Add healthcheck, update metadata
This commit is contained in:
		| @ -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 --> | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user