File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
client/acontext-cli/internal/docker Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,11 @@ services:
169169 CORE_BASE_URL : http://acontext-server-core:8000
170170 ports :
171171 - " ${API_EXPORT_PORT:-8029}:8029"
172+ healthcheck :
173+ test : ["CMD-SHELL", "wget -q -O- http://acontext-server-api:8029/health || exit 1"]
174+ interval : 30s
175+ timeout : 5s
176+ retries : 5
172177 depends_on :
173178 - acontext-server-core
174179
Original file line number Diff line number Diff line change @@ -174,6 +174,11 @@ services:
174174 CORE_BASE_URL : http://acontext-server-core:8000
175175 ports :
176176 - " ${API_EXPORT_PORT:-8029}:8029"
177+ healthcheck :
178+ test : ["CMD-SHELL", "wget -q -O- http://acontext-server-api:8029/health || exit 1"]
179+ interval : 30s
180+ timeout : 5s
181+ retries : 5
177182 depends_on :
178183 - acontext-server-core
179184
You can’t perform that action at this time.
0 commit comments