mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
- Add component template files for all LLM types - Top-level templates simplified to use just components - Version to 0.6.2
44 lines
696 B
Jsonnet
44 lines
696 B
Jsonnet
local base = import "base.jsonnet";
|
|
local images = import "images.jsonnet";
|
|
local url = import "url.jsonnet";
|
|
local cassandra_hosts = "cassandra";
|
|
{
|
|
volumes +: {
|
|
cassandra: {},
|
|
},
|
|
services +: {
|
|
|
|
cassandra: base + {
|
|
image: images.cassandra,
|
|
ports: [
|
|
"9042:9042"
|
|
],
|
|
volumes: [
|
|
"cassandra:/var/lib/cassandra"
|
|
],
|
|
},
|
|
|
|
"store-triples": base + {
|
|
image: images.trustgraph,
|
|
command: [
|
|
"triples-write-cassandra",
|
|
"-p",
|
|
url.pulsar,
|
|
"-g",
|
|
cassandra_hosts,
|
|
],
|
|
},
|
|
|
|
"query-triples": base + {
|
|
image: images.trustgraph,
|
|
command: [
|
|
"triples-query-cassandra",
|
|
"-p",
|
|
url.pulsar,
|
|
"-g",
|
|
cassandra_hosts,
|
|
],
|
|
},
|
|
|
|
},
|
|
}
|