Skip to content

Commit a7f205e

Browse files
committed
fix: health check command of ng_ai networkx
1 parent 7968e72 commit a7f205e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

optional_workload/docker-compose-ngai-nx.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,11 @@ services:
1010
volumes:
1111
- ./:/home/jovyan
1212
healthcheck:
13-
test:
14-
- "wget"
15-
- "-q"
16-
- "--spider"
17-
- "http://127.0.0.1:8888"
18-
interval: 30s
13+
test: ["CMD-SHELL", "wget http://127.0.0.1:8888 -O /dev/null --no-http-keep-alive || exit 1"]
14+
interval: 300s
1915
timeout: 10s
2016
retries: 3
21-
start_period: 20s
17+
start_period: 40s
2218
networks:
2319
- weygu_nebulagraph-dd-ext-desktop-extension_nebula-net
2420

0 commit comments

Comments
 (0)