mirror of
https://github.com/taogaetz/chefbible.git
synced 2025-12-06 11:47:24 -05:00
update healthcheck to use 127.xx
This commit is contained in:
parent
1fc17a8039
commit
05850f3840
@ -13,10 +13,11 @@ services:
|
|||||||
- MAGIC_LINK_TOKEN=${MAGIC_LINK_TOKEN}
|
- MAGIC_LINK_TOKEN=${MAGIC_LINK_TOKEN}
|
||||||
- CLOUDINARY_URL=${CLOUDINARY_URL}
|
- CLOUDINARY_URL=${CLOUDINARY_URL}
|
||||||
- ORIGIN=${ORIGIN}
|
- ORIGIN=${ORIGIN}
|
||||||
|
- ACCESS_PIN=${ACCESS_PIN}
|
||||||
volumes:
|
volumes:
|
||||||
- /home/chefbible/data:/app/data
|
- /home/chefbible/data:/app/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })" ]
|
test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1:3000/health" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user