Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
Neo Query
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Back End
Neo Query
Commits
617108d4
Commit
617108d4
authored
Sep 10, 2026
by
谢宇轩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update docker network setting
parent
d0ec3142
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
677 additions
and
2 deletions
+677
-2
.env.example
.env.example
+4
-0
README.md
README.md
+8
-1
compose.yaml
compose.yaml
+3
-1
USAGE_GUIDE.md
docs/USAGE_GUIDE.md
+662
-0
No files found.
.env.example
0 → 100644
View file @
617108d4
# Host-side Compose interpolation only. This value is not injected into the
# query-api container. It must name the Docker network already joined by the
# target Neo4j container.
NEO4J_DOCKER_NETWORK=neo4jagent_default
README.md
View file @
617108d4
...
...
@@ -2,6 +2,12 @@
面向组内共享的轻量查询服务。适用于 Neo4j Community:调用方只持有 Workspace API Key,通过预定义模板查询图数据。
## 文档入口
完整的部署、调用、协作与运维流程见
[
使用手册
](
docs/USAGE_GUIDE.md
)
。它覆盖首次部署、源码运行、配置覆盖、Key 生命周期、模板与快捷查询、结果解码、备份恢复、故障排查和测试验收。
本文保留产品边界、配置参考和快速命令,适合作为项目首页;需要按角色执行操作时,请从使用手册开始。
## 能力与边界
-
一个 Key 对应一个 Workspace;一个 Workspace 对应一个 Neo4j URI 与数据库。
...
...
@@ -16,10 +22,11 @@
## Docker 启动
镜像:
`neo4j-query-service:0.1.0`
。示例 Compose 接入已有的
`neo4jagent_default`
网络,不启动或修改已有 Neo4j
。
镜像:
`neo4j-query-service:0.1.0`
。示例 Compose 接入已有的
Neo4j Docker 网络,不启动或修改已有 Neo4j。默认网络名为
`neo4jagent_default`
;若部署环境不同,请在项目目录的
`.env`
中设置
`NEO4J_DOCKER_NETWORK=<实际网络名>`
(可从
`.env.example`
复制),或在启动命令前设置同名环境变量
。
```
bash
cp
examples/workspaces.yaml config.local.yaml
cp
.env.example .env
# 编辑 URI、数据库、账号和密码。已有本地容器可使用 bolt://neo4j-agent:7687。
docker compose up
-d
--build
docker compose
exec
query-api query-service healthcheck
...
...
compose.yaml
View file @
617108d4
...
...
@@ -21,6 +21,8 @@ services:
networks
:
neo4j
:
external
:
true
name
:
neo4jagent_default
# Set NEO4J_DOCKER_NETWORK on the deployment host when the existing
# Neo4j Compose project uses a different network name.
name
:
${NEO4J_DOCKER_NETWORK:-neo4jagent_default}
volumes
:
query-data
:
docs/USAGE_GUIDE.md
0 → 100644
View file @
617108d4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment