diff --git a/README.md b/README.md index 0c6f2d1..71a670e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/compose.yml b/compose.yml index bedd1df..6d0b1eb 100644 --- a/compose.yml +++ b/compose.yml @@ -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: