fix: added healthcheck for gotenberg template
This commit is contained in:
@@ -22,4 +22,9 @@ services:
|
|||||||
#"--api-timeout=60s",
|
#"--api-timeout=60s",
|
||||||
#"--chromium-auto-start"
|
#"--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
|
||||||
|
Reference in New Issue
Block a user