fix: added healthcheck for gotenberg template

This commit is contained in:
Khiet Tam Nguyen
2025-01-11 02:18:16 +11:00
parent 277d7f1083
commit e16e6e0a74

View File

@@ -22,4 +22,9 @@ services:
#"--api-timeout=60s",
#"--chromium-auto-start"
]
restart: unless-stopped
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/version"]
interval: 5s
timeout: 20s
retries: 10