mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-03 15:01:00 +02:00
git-subtree-dir: ai-context/trustgraph-templates git-subtree-split: 42a5fd1b678f32be378062e30451e2052ccb95dd
32 lines
758 B
Jsonnet
32 lines
758 B
Jsonnet
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,
|
|
])
|
|
|
|
},
|
|
|
|
}
|
|
|