bitflicker64 commented on code in PR #3149: URL: https://github.com/apache/hugegraph/pull/3149#discussion_r3789871426
########## docker/docker-compose-hubble.yml: ########## @@ -0,0 +1,53 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Hubble add-on for the distributed cluster defined in +# docker-compose-3pd-3store-3server.yml. Requires the pre-created cluster +# network (docker network create hugegraph-net). See "Hubble for the +# 3-Node Cluster" in docker/README.md for the attach and combined flows. + +networks: + hg-net: + external: true + name: ${HUGEGRAPH_NETWORK:-hugegraph-net} + +volumes: + hg-hubble-db: + hg-hubble-upload-files: + +services: + hubble: + # Pin a release via HUGEGRAPH_VERSION in docker/.env; unset, the image + # tag defaults to latest. + image: ${HUBBLE_IMAGE:-hugegraph/hubble:${HUGEGRAPH_VERSION:-latest}} + pull_policy: ${HUBBLE_PULL_POLICY:-missing} + container_name: hg-hubble + hostname: hubble + restart: unless-stopped + networks: [hg-net] + ports: + - "${HUBBLE_PUBLISH_HOST:-127.0.0.1}:8088:8088" + volumes: + - ./hugegraph-hubble-3x3.properties:/hubble/conf/hugegraph-hubble.properties:ro + - hg-hubble-db:/hubble/db Review Comment: I’ll fix the persistence boundary so Hubble state survives recreate. -- 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]
