healthcheck

This commit is contained in:
brooke 2025-02-22 13:45:10 -05:00
parent 30af04ecd8
commit 98e79a0f9b
2 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,7 @@
* **Category**: Apps
* **Status**: wip
* **Image**: [`privatebin`](https://hub.docker.com/r/privatebin), 4, upstream
* **Healthcheck**: No
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: N/A
* **Tests**: No

View File

@ -22,6 +22,12 @@ services:
- "coop-cloud.${STACK_NAME}.version=0.1.0+1.7.6"
volumes:
- privatebin-data:/srv/data:rw
healthcheck:
test: [ "CMD", "wget", "-qO/dev/null", "http://localhost:8080" ]
interval: 30s
retries: 3
start_period: 30s
timeout: 10s
volumes:
privatebin-data: