mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-02 03:42:36 +02:00
Ollama docker compose has init commands to set up pulsar.
This commit is contained in:
parent
cd0671e777
commit
5eea23b5e5
1 changed files with 21 additions and 10 deletions
|
|
@ -30,6 +30,17 @@ services:
|
||||||
- "pulsar-data:/pulsar/data"
|
- "pulsar-data:/pulsar/data"
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
|
init-pulsar:
|
||||||
|
image: docker.io/apachepulsar/pulsar:3.3.0
|
||||||
|
command:
|
||||||
|
- "sh"
|
||||||
|
- "-c"
|
||||||
|
- "pulsar-admin --admin-url http://pulsar:8080 tenants create tg && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/flow && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/request && pulsar-admin --admin-url http://pulsar:8080 namespaces create tg/response && pulsar-admin --admin-url http://pulsar:8080 namespaces set-retention --size -1 --time 3m tg/response"
|
||||||
|
depends_on:
|
||||||
|
pulsar:
|
||||||
|
condition: service_started
|
||||||
|
restart: on-failure:100
|
||||||
|
|
||||||
pulsar-manager:
|
pulsar-manager:
|
||||||
image: docker.io/apachepulsar/pulsar-manager:v0.3.0
|
image: docker.io/apachepulsar/pulsar-manager:v0.3.0
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -119,7 +130,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
pdf-decoder:
|
pdf-decoder:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -127,7 +138,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
chunker:
|
chunker:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -135,7 +146,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vectorize:
|
vectorize:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -143,7 +154,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
embeddings:
|
embeddings:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -153,7 +164,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-definitions:
|
kg-extract-definitions:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -161,7 +172,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-relationships:
|
kg-extract-relationships:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -169,7 +180,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
store-graph-embeddings:
|
store-graph-embeddings:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "ge-write-milvus"
|
- "ge-write-milvus"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -179,7 +190,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
store-triples:
|
store-triples:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "triples-write-cassandra"
|
- "triples-write-cassandra"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -189,7 +200,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
text-completion:
|
text-completion:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "text-completion-ollama"
|
- "text-completion-ollama"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -201,7 +212,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-rag:
|
graph-rag:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.5.3
|
image: docker.io/trustgraph/trustgraph-flow:0.5.4
|
||||||
command:
|
command:
|
||||||
- "graph-rag"
|
- "graph-rag"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue