diff --git a/templates/components.jsonnet b/templates/components.jsonnet index d3a4a112..b14665d6 100644 --- a/templates/components.jsonnet +++ b/templates/components.jsonnet @@ -29,6 +29,7 @@ "vector-store-qdrant": import "components/qdrant.jsonnet", "vector-store-pinecone": import "components/pinecone.jsonnet", "vertexai": import "components/vertexai.jsonnet", + "workbench-ui": import "components/workbench-ui.jsonnet", "null": {}, "agent-manager-react": import "components/agent-manager-react.jsonnet", diff --git a/templates/components/workbench-ui.jsonnet b/templates/components/workbench-ui.jsonnet new file mode 100644 index 00000000..f2048e47 --- /dev/null +++ b/templates/components/workbench-ui.jsonnet @@ -0,0 +1,32 @@ +local images = import "values/images.jsonnet"; + +{ + + "workbench-ui" +: { + + create:: function(engine) + + local container = + engine.container("workbench-ui") + .with_image(images["workbench-ui"]) + .with_limits("0.1", "256M") + .with_reservations("0.1", "256M") + .with_port(8888, 8888, "ui"); + + local containerSet = engine.containers( + "workbench-ui", [ container ] + ); + + local service = + engine.internalService(containerSet) + .with_port(8888, 8888, "ui"); + + engine.resources([ + containerSet, + service, + ]) + + }, + +} + diff --git a/templates/values/images.jsonnet b/templates/values/images.jsonnet index 7fdf4f4a..df724938 100644 --- a/templates/values/images.jsonnet +++ b/templates/values/images.jsonnet @@ -13,5 +13,6 @@ local version = import "version.jsonnet"; qdrant: "docker.io/qdrant/qdrant:v1.11.1", memgraph_mage: "docker.io/memgraph/memgraph-mage:1.22-memgraph-2.22", memgraph_lab: "docker.io/memgraph/lab:2.19.1", - falkordb: "docker.io/falkordb/falkordb:latest" + falkordb: "docker.io/falkordb/falkordb:latest", + "workbench-ui": "docker.io/trustgraph/workbench-ui:0.1.4", } diff --git a/trustgraph-flow/trustgraph/storage/triples/memgraph/write.py b/trustgraph-flow/trustgraph/storage/triples/memgraph/write.py index 17e8c67e..f106170a 100755 --- a/trustgraph-flow/trustgraph/storage/triples/memgraph/write.py +++ b/trustgraph-flow/trustgraph/storage/triples/memgraph/write.py @@ -1,6 +1,6 @@ """ -Graph writer. Input is graph edge. Writes edges to Cassandra graph. +Graph writer. Input is graph edge. Writes edges to Memgraph. """ import pulsar