mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
* - Added docker-compose-storage.yaml, just the infrastructure bits - Tidied storage invocation * Util, sits on chunker output and reports histogram of chunk sizes
34 lines
574 B
Jsonnet
34 lines
574 B
Jsonnet
local base = import "base.jsonnet";
|
|
local images = import "images.jsonnet";
|
|
local url = import "url.jsonnet";
|
|
local cassandra_hosts = "cassandra";
|
|
local cassandra = import "stores/cassandra.jsonnet";
|
|
|
|
cassandra + {
|
|
|
|
services +: {
|
|
|
|
"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,
|
|
],
|
|
},
|
|
|
|
},
|
|
}
|