mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 11:52:10 +02:00
Add workbench-ui (#216)
This commit is contained in:
parent
317ae3186a
commit
f145d5c324
4 changed files with 36 additions and 2 deletions
|
|
@ -29,6 +29,7 @@
|
||||||
"vector-store-qdrant": import "components/qdrant.jsonnet",
|
"vector-store-qdrant": import "components/qdrant.jsonnet",
|
||||||
"vector-store-pinecone": import "components/pinecone.jsonnet",
|
"vector-store-pinecone": import "components/pinecone.jsonnet",
|
||||||
"vertexai": import "components/vertexai.jsonnet",
|
"vertexai": import "components/vertexai.jsonnet",
|
||||||
|
"workbench-ui": import "components/workbench-ui.jsonnet",
|
||||||
"null": {},
|
"null": {},
|
||||||
|
|
||||||
"agent-manager-react": import "components/agent-manager-react.jsonnet",
|
"agent-manager-react": import "components/agent-manager-react.jsonnet",
|
||||||
|
|
|
||||||
32
templates/components/workbench-ui.jsonnet
Normal file
32
templates/components/workbench-ui.jsonnet
Normal file
|
|
@ -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,
|
||||||
|
])
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -13,5 +13,6 @@ local version = import "version.jsonnet";
|
||||||
qdrant: "docker.io/qdrant/qdrant:v1.11.1",
|
qdrant: "docker.io/qdrant/qdrant:v1.11.1",
|
||||||
memgraph_mage: "docker.io/memgraph/memgraph-mage:1.22-memgraph-2.22",
|
memgraph_mage: "docker.io/memgraph/memgraph-mage:1.22-memgraph-2.22",
|
||||||
memgraph_lab: "docker.io/memgraph/lab:2.19.1",
|
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",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
import pulsar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue