diff --git a/docker-compose-ollama.yaml b/docker-compose-ollama.yaml index 0b5b2bb8..56ab9431 100644 --- a/docker-compose-ollama.yaml +++ b/docker-compose-ollama.yaml @@ -30,6 +30,17 @@ services: - "pulsar-data:/pulsar/data" 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: image: docker.io/apachepulsar/pulsar-manager:v0.3.0 ports: @@ -119,7 +130,7 @@ services: restart: on-failure:100 pdf-decoder: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "pdf-decoder" - "-p" @@ -127,7 +138,7 @@ services: restart: on-failure:100 chunker: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "chunker-recursive" - "-p" @@ -135,7 +146,7 @@ services: restart: on-failure:100 vectorize: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "embeddings-vectorize" - "-p" @@ -143,7 +154,7 @@ services: restart: on-failure:100 embeddings: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "embeddings-hf" - "-p" @@ -153,7 +164,7 @@ services: restart: on-failure:100 kg-extract-definitions: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "kg-extract-definitions" - "-p" @@ -161,7 +172,7 @@ services: restart: on-failure:100 kg-extract-relationships: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "kg-extract-relationships" - "-p" @@ -169,7 +180,7 @@ services: restart: on-failure:100 store-graph-embeddings: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "ge-write-milvus" - "-p" @@ -179,7 +190,7 @@ services: restart: on-failure:100 store-triples: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "triples-write-cassandra" - "-p" @@ -189,7 +200,7 @@ services: restart: on-failure:100 text-completion: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "text-completion-ollama" - "-p" @@ -201,7 +212,7 @@ services: restart: on-failure:100 graph-rag: - image: docker.io/trustgraph/trustgraph-flow:0.5.3 + image: docker.io/trustgraph/trustgraph-flow:0.5.4 command: - "graph-rag" - "-p"