fix(service): update healthcheck of penpot backend container (#6272)
This commit is contained in:

committed by
GitHub

parent
f34225dfd6
commit
1d4a19fb61
@@ -55,7 +55,7 @@ services:
|
|||||||
- PENPOT_SMTP_TLS=${PENPOT_SMTP_TLS:-false}
|
- PENPOT_SMTP_TLS=${PENPOT_SMTP_TLS:-false}
|
||||||
- PENPOT_SMTP_SSL=${PENPOT_SMTP_SSL:-false}
|
- PENPOT_SMTP_SSL=${PENPOT_SMTP_SSL:-false}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD', 'curl', '-f', 'http://127.0.0.1:6060/readyz']
|
test: ['CMD', 'node', '-e', "require('http').get({host:'127.0.0.1', port:6060, path:'/readyz'}, res => process.exit(res.statusCode===200 ? 0 : 1)).on('error', () => process.exit(1));"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 15
|
retries: 15
|
||||||
|
Reference in New Issue
Block a user