Added a healthcheck to private bin

This commit is contained in:
librelol
2024-11-15 12:17:03 -05:00
parent 13f898681b
commit c710869fca
2 changed files with 14 additions and 2 deletions

View File

@@ -13,3 +13,15 @@ services:
- SERVICE_FQDN_PRIVATEBIN_8080
volumes:
- 'privatebin-data:/srv/data'
healthcheck:
test:
- CMD
- wget
- '--spider'
- '-q'
- 'http://localhost:8080/'
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
disable: false