trustgraph/templates/components/neo4j.jsonnet
cybermaggedon 0e2db095e3
Add a docker-compose for just the stores (#13)
* - Added docker-compose-storage.yaml, just the infrastructure bits
- Tidied storage invocation

* Util, sits on chunker output and reports histogram of chunk sizes
2024-08-21 16:20:21 +01:00

34 lines
525 B
Jsonnet

local base = import "base.jsonnet";
local images = import "images.jsonnet";
local url = import "url.jsonnet";
local neo4j = import "stores/neo4j.jsonnet";
neo4j + {
services +: {
"query-triples": base + {
image: images.trustgraph,
command: [
"triples-query-neo4j",
"-p",
url.pulsar,
"-g",
"bolt://neo4j:7687",
],
},
"store-triples": base + {
image: images.trustgraph,
command: [
"triples-write-neo4j",
"-p",
url.pulsar,
"-g",
"bolt://neo4j:7687",
],
}
},
}