Skip to content

Commit 6e024d2

Browse files
committed
Fix Docker configuration: remove deprecated checks, simplify healthchecks, remove unused detect-storage script
1 parent 64a9aab commit 6e024d2

File tree

4 files changed

+1
-30
lines changed

4 files changed

+1
-30
lines changed

docker/docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ services:
8181
volumes:
8282
- hg-store-data:/hugegraph-store/storage
8383
healthcheck:
84-
test: ["CMD-SHELL", "curl -fsS http://localhost:8520/v1/health >/dev/null && curl -fsS http://pd:8620/v1/health >/dev/null || exit 1"]
84+
test: ["CMD-SHELL", "curl -fsS http://localhost:8520/v1/health >/dev/null || exit 1"]
8585
interval: 10s
8686
timeout: 10s
8787
retries: 30
@@ -100,7 +100,6 @@ services:
100100
store:
101101
condition: service_healthy
102102
environment:
103-
HG_GRAPH: hugegraph
104103
HG_SERVER_BACKEND: hstore
105104
HG_SERVER_PD_PEERS: pd:8686
106105
ports:

hugegraph-pd/hg-pd-dist/docker/docker-entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ require_env "HG_PD_INITIAL_STORE_LIST"
5656
: "${HG_PD_GRPC_PORT:=8686}"
5757
: "${HG_PD_REST_PORT:=8620}"
5858
: "${HG_PD_DATA_PATH:=/hugegraph-pd/pd_data}"
59-
: "${HG_PD_INITIAL_STORE_COUNT:=1}"
6059

6160
# ── Build SPRING_APPLICATION_JSON ─────────────────────────────────────
6261
SPRING_APPLICATION_JSON="$(cat <<JSON

hugegraph-server/hugegraph-dist/docker/scripts/detect-storage.groovy

Lines changed: 0 additions & 26 deletions
This file was deleted.

hugegraph-store/hg-store-dist/docker/docker-entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ json_escape() {
4444
fail_on_deprecated "PD_ADDRESS" "HG_STORE_PD_ADDRESS"
4545
fail_on_deprecated "GRPC_HOST" "HG_STORE_GRPC_HOST"
4646
fail_on_deprecated "RAFT_ADDRESS" "HG_STORE_RAFT_ADDRESS"
47-
fail_on_deprecated "RAFT_PEERS" "HG_PD_RAFT_PEERS_LIST"
4847

4948
# ── Required vars ─────────────────────────────────────────────────────
5049
require_env "HG_STORE_PD_ADDRESS"

0 commit comments

Comments
 (0)