fix: added healthcheck for gotenberg template
This commit is contained in:
parent
277d7f1083
commit
e16e6e0a74
1 changed files with 6 additions and 1 deletions
|
|
@ -23,3 +23,8 @@ services:
|
||||||
#"--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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue