imbajin commented on code in PR #423: URL: https://github.com/apache/incubator-hugegraph-doc/pull/423#discussion_r2533200898
########## content/cn/docs/quickstart/computing/hugegraph-vermeer.md: ########## @@ -16,6 +16,144 @@ master 是负责通信、转发、汇总的节点,计算量和占用资源量 ### 1.2 运行方法 +1. **方案一:Docker Compose(推荐)** + +确保docker-compose.yaml存在于您的项目根目录中。如果没有,以下是一个示例: +```yaml +# +# 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. +# + +version: '3.8' Review Comment: ⚠️ **Docker Compose 版本兼容性问题** `version: '3.8'` 在较新的 Docker Compose v2 中已不再需要(且被标记为过时)。建议: ```suggestion # 移除 version 字段,Docker Compose v2 会自动处理 services: ``` 参考: Docker Compose 规范不再需要显式版本声明。 -- 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]
