HugeGraph容器快速部署使用
HugeGraph 是一套全栈图系统,覆盖 图数据库、图计算 与 图 AI。支持从数据存储、实时查询到离线分析的完整图数据处理能力,并支持 Gremlin 与 Cypher 查询语言。
源码访问地址:https://github.com/apache/hugegraph
client-api文档:https://hugegraph.apache.org/docs/quickstart/hugegraph-client/
为了广大使用者的方便,今天附上docker-compose(版本27.0)直接启动的方法:
(1)新建docker-compose.yml文件,内容如下:
services: server: image: hugegraph/hugegraph:1.5.0 container_name: hugegraph_server environment: - PRELOAD=true # PRELOAD is a option to preload a build-in sample graph when initializing. # - PASSWORD=123456 # PASSWORD is an option to enable auth mode with the password you set. ports: - 8080:8080 hubble: image: hugegraph/hubble:1.5.0 container_name: hugegraph_hubble ports: - 8088:8088如果docker-compose的版本较低,记得加上version。
(2)启动命令
docker-compose -f docker-compose.yml up -d
(3)验证
swagger-ui访问: http://localhost:8080/swagger-ui/index.html
管理端访问: http://localhost:8088/
