Neo4j RAG working in docker compose

This commit is contained in:
Cyber MacGeddon 2024-08-14 00:43:40 +01:00
parent 657b2801d3
commit 4d05e1e836
16 changed files with 138 additions and 386 deletions

View file

@ -4,14 +4,14 @@
- "chunker-recursive"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"embeddings":
"command":
- "embeddings-hf"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"etcd":
"command":
@ -53,7 +53,7 @@
- "non-persistent://tg/request/prompt-rag"
- "--prompt-response-queue"
- "non-persistent://tg/response/prompt-rag-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"init-pulsar":
"command":
@ -70,14 +70,14 @@
- "kg-extract-definitions"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"kg-extract-relationships":
"command":
- "kg-extract-relationships"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"milvus":
"command":
@ -113,6 +113,9 @@
"neo4j":
"environment":
"NEO4J_AUTH": "neo4j/password"
"NEO4J_server_bolt_listen__address": "0.0.0.0:7687"
"NEO4J_server_default__listen__address": "0.0.0.0"
"NEO4J_server_http_listen__address": "0.0.0.0:7474"
"image": "docker.io/neo4j:5.22.0-community-bullseye"
"ports":
- "7474:7474"
@ -125,7 +128,7 @@
- "pdf-decoder"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"prometheus":
"image": "docker.io/prom/prometheus:v2.53.1"
@ -144,7 +147,7 @@
- "non-persistent://tg/request/text-completion"
- "--text-completion-response-queue"
- "non-persistent://tg/response/text-completion-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"prompt-rag":
"command":
@ -159,7 +162,7 @@
- "non-persistent://tg/request/text-completion-rag"
- "--text-completion-response-queue"
- "non-persistent://tg/response/text-completion-rag-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"pulsar":
"command": "bin/pulsar standalone"
@ -186,7 +189,7 @@
- "pulsar://pulsar:6650"
- "-t"
- "http://milvus:19530"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"query-triples":
"command":
@ -194,8 +197,8 @@
- "-p"
- "pulsar://pulsar:6650"
- "-g"
- "http://neo4j:7474"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
- "bolt://neo4j:7687"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"store-graph-embeddings":
"command":
@ -204,7 +207,7 @@
- "pulsar://pulsar:6650"
- "-t"
- "http://milvus:19530"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"store-triples":
"command":
@ -212,8 +215,8 @@
- "-p"
- "pulsar://pulsar:6650"
- "-g"
- "http://neo4j:7474"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
- "bolt://neo4j:7687"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"text-completion":
"command":
@ -222,7 +225,7 @@
- "pulsar://pulsar:6650"
- "-k"
- "${OPENAI_KEY}"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"text-completion-rag":
"command":
@ -235,14 +238,14 @@
- "non-persistent://tg/request/text-completion-rag"
- "-o"
- "non-persistent://tg/response/text-completion-rag-response"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"vectorize":
"command":
- "embeddings-vectorize"
- "-p"
- "pulsar://pulsar:6650"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.0"
"image": "docker.io/trustgraph/trustgraph-flow:0.6.1"
"restart": "on-failure:100"
"volumes":
"etcd": {}