发布应用 CloudSaver
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
1d90db0612
commit
58f09f2d9f
|
|
@ -22,8 +22,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: >
|
test: [ "CMD", "sh", "-c", "curl -s -o /dev/null -w '%{http_code}' http://localhost:8008/health | grep -Eq '^(200|204|301|302|304)$'" ]
|
||||||
CMD-SHELL curl -s -o /dev/null -w "%{http_code}" http://localhost:8008/health | grep -E "^(200|204|301|302|304)$" || exit 1
|
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue