@@ -30,13 +30,11 @@ volumes:
3030 hg-store2-data :
3131
3232# ── Shared service defaults ──────────────────────────────────────────
33- # TODO: remove volume mounts below once images are published with new entrypoints
3433x-pd-common : &pd-common
3534 image : hugegraph/pd:${HUGEGRAPH_VERSION:-latest}
3635 pull_policy : missing
3736 restart : unless-stopped
3837 networks : [hg-net]
39- entrypoint : ["/hugegraph-pd/docker-entrypoint.sh"]
4038 healthcheck :
4139 test : ["CMD-SHELL", "curl -fsS http://localhost:8620/v1/health >/dev/null || exit 1"]
4240 interval : 15s
@@ -53,7 +51,6 @@ x-store-common: &store-common
5351 pd0 : { condition: service_healthy }
5452 pd1 : { condition: service_healthy }
5553 pd2 : { condition: service_healthy }
56- entrypoint : ["/hugegraph-store/docker-entrypoint.sh"]
5754 healthcheck :
5855 test : ["CMD-SHELL", "curl -fsS http://localhost:8520/v1/health >/dev/null || exit 1"]
5956 interval : 15s
@@ -70,7 +67,6 @@ x-server-common: &server-common
7067 store0 : { condition: service_healthy }
7168 store1 : { condition: service_healthy }
7269 store2 : { condition: service_healthy }
73- entrypoint : ["/hugegraph-server/docker-entrypoint.sh"]
7470 environment :
7571 STORE_REST : store0:8520
7672 HG_SERVER_BACKEND : hstore
@@ -103,7 +99,6 @@ services:
10399 ports : ["8620:8620", "8686:8686"]
104100 volumes :
105101 - hg-pd0-data:/hugegraph-pd/pd_data
106- - ../hugegraph-pd/hg-pd-dist/docker/docker-entrypoint.sh:/hugegraph-pd/docker-entrypoint.sh
107102
108103 pd1 :
109104 << : *pd-common
@@ -122,7 +117,6 @@ services:
122117 ports : ["8621:8620", "8687:8686"]
123118 volumes :
124119 - hg-pd1-data:/hugegraph-pd/pd_data
125- - ../hugegraph-pd/hg-pd-dist/docker/docker-entrypoint.sh:/hugegraph-pd/docker-entrypoint.sh
126120
127121 pd2 :
128122 << : *pd-common
@@ -141,7 +135,6 @@ services:
141135 ports : ["8622:8620", "8688:8686"]
142136 volumes :
143137 - hg-pd2-data:/hugegraph-pd/pd_data
144- - ../hugegraph-pd/hg-pd-dist/docker/docker-entrypoint.sh:/hugegraph-pd/docker-entrypoint.sh
145138
146139 # --- Store cluster (3 nodes) ---
147140 store0 :
@@ -158,7 +151,6 @@ services:
158151 ports : ["8500:8500", "8510:8510", "8520:8520"]
159152 volumes :
160153 - hg-store0-data:/hugegraph-store/storage
161- - ../hugegraph-store/hg-store-dist/docker/docker-entrypoint.sh:/hugegraph-store/docker-entrypoint.sh
162154
163155 store1 :
164156 << : *store-common
@@ -174,7 +166,6 @@ services:
174166 ports : ["8501:8500", "8511:8510", "8521:8520"]
175167 volumes :
176168 - hg-store1-data:/hugegraph-store/storage
177- - ../hugegraph-store/hg-store-dist/docker/docker-entrypoint.sh:/hugegraph-store/docker-entrypoint.sh
178169
179170 store2 :
180171 << : *store-common
@@ -190,35 +181,22 @@ services:
190181 ports : ["8502:8500", "8512:8510", "8522:8520"]
191182 volumes :
192183 - hg-store2-data:/hugegraph-store/storage
193- - ../hugegraph-store/hg-store-dist/docker/docker-entrypoint.sh:/hugegraph-store/docker-entrypoint.sh
194184
195185 # --- Server cluster (3 nodes) ---
196186 server0 :
197187 << : *server-common
198188 container_name : hg-server0
199189 hostname : server0
200190 ports : ["8080:8080"]
201- volumes :
202- - ../hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh:/hugegraph-server/docker-entrypoint.sh
203- - ../hugegraph-server/hugegraph-dist/src/assembly/static/bin/wait-storage.sh:/hugegraph-server/bin/wait-storage.sh
204- - ../hugegraph-server/hugegraph-dist/src/assembly/static/bin/wait-partition.sh:/hugegraph-server/bin/wait-partition.sh
205191
206192 server1 :
207193 << : *server-common
208194 container_name : hg-server1
209195 hostname : server1
210196 ports : ["8081:8080"]
211- volumes :
212- - ../hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh:/hugegraph-server/docker-entrypoint.sh
213- - ../hugegraph-server/hugegraph-dist/src/assembly/static/bin/wait-storage.sh:/hugegraph-server/bin/wait-storage.sh
214- - ../hugegraph-server/hugegraph-dist/src/assembly/static/bin/wait-partition.sh:/hugegraph-server/bin/wait-partition.sh
215197
216198 server2 :
217199 << : *server-common
218200 container_name : hg-server2
219201 hostname : server2
220202 ports : ["8082:8080"]
221- volumes :
222- - ../hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh:/hugegraph-server/docker-entrypoint.sh
223- - ../hugegraph-server/hugegraph-dist/src/assembly/static/bin/wait-storage.sh:/hugegraph-server/bin/wait-storage.sh
224- - ../hugegraph-server/hugegraph-dist/src/assembly/static/bin/wait-partition.sh:/hugegraph-server/bin/wait-partition.sh
0 commit comments