bitflicker64 commented on code in PR #2952:
URL: https://github.com/apache/hugegraph/pull/2952#discussion_r2955431114
##########
docker/docker-compose.yml:
##########
@@ -14,45 +14,119 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+# TODO: remove volume mounts below once images are published with new
entrypoints
+name: hugegraph-single
-version: "3"
+networks:
+ hg-net:
+ driver: bridge
+
+volumes:
+ hg-pd-data:
+ hg-store-data:
services:
+
pd:
- image: hugegraph/pd
- container_name: pd
+ image: hugegraph/pd:${HUGEGRAPH_VERSION:-latest}
+ pull_policy: always
+ container_name: hg-pd
hostname: pd
- network_mode: host
+ restart: unless-stopped
+ networks: [hg-net]
+
+ entrypoint: ["/hugegraph-pd/docker-entrypoint.sh"]
+
+ environment:
+ HG_PD_GRPC_HOST: pd
+ HG_PD_GRPC_PORT: "8686"
Review Comment:
The entrypoint: overrides in the compose files are a temporary workaround to
bind-mount the updated scripts since the current published images predate the
entrypoint changes. These will be removed in a follow-up cleanup PR once
updated images are published
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]