Provisioning

This commit is contained in:
Cyber MacGeddon 2024-07-18 16:02:53 +01:00
parent 9216e47da2
commit 890cf37ff4
10 changed files with 426 additions and 42 deletions

View file

@ -6,6 +6,8 @@ volumes:
etcd:
minio-data:
milvus:
prometheus-data:
grafana-storage:
services:
@ -90,8 +92,33 @@ services:
- "milvus:/var/lib/milvus"
restart: on-failure:100
prometheus:
image: docker.io/prom/prometheus:v2.53.1
ports:
- "9090:9090"
volumes:
- "./prometheus:/etc/prometheus"
- "prometheus-data:/prometheus"
restart: on-failure:100
grafana:
image: docker.io/grafana/grafana:10.0.0
ports:
- "3000:3000"
volumes:
- "grafana-storage:/var/lib/grafana"
- "./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml"
- "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml"
- "./grafana/dashboard.json:/var/lib/grafana/dashboards/dashboard.json"
environment:
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
GF_AUTH_ANONYMOUS_ENABLED: true
GF_ORG_NAME: trustgraph.ai
# GF_SERVER_ROOT_URL: https://example.com
restart: on-failure:100
pdf-decoder:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "pdf-decoder"
- "-p"
@ -99,7 +126,7 @@ services:
restart: on-failure:100
chunker:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "chunker-recursive"
- "-p"
@ -107,7 +134,7 @@ services:
restart: on-failure:100
vectorize:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "embeddings-vectorize"
- "-p"
@ -115,7 +142,7 @@ services:
restart: on-failure:100
embeddings:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "embeddings-hf"
- "-p"
@ -125,7 +152,7 @@ services:
restart: on-failure:100
kg-extract-definitions:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "kg-extract-definitions"
- "-p"
@ -133,7 +160,7 @@ services:
restart: on-failure:100
kg-extract-relationships:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "kg-extract-relationships"
- "-p"
@ -141,7 +168,7 @@ services:
restart: on-failure:100
vector-write:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "vector-write-milvus"
- "-p"
@ -151,7 +178,7 @@ services:
restart: on-failure:100
graph-write:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "graph-write-cassandra"
- "-p"
@ -161,7 +188,7 @@ services:
restart: on-failure:100
llm:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "llm-ollama-text"
- "-p"
@ -171,7 +198,7 @@ services:
restart: on-failure:100
graph-rag:
image: docker.io/trustgraph/trustgraph-flow:0.3.3
image: docker.io/trustgraph/trustgraph-flow:0.4.0
command:
- "graph-rag"
- "-p"