mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 08:56:21 +02:00
Fix auto-templates (#17)
This commit is contained in:
parent
c4bfd9fc8c
commit
d3cdb97528
28 changed files with 150 additions and 82 deletions
27
templates/docker-compose.jsonnet
Normal file
27
templates/docker-compose.jsonnet
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
local components = {
|
||||
neo4j: import "components/neo4j.jsonnet",
|
||||
cassandra: import "components/neo4j.jsonnet",
|
||||
pulsar: import "components/pulsar.jsonnet",
|
||||
milvus: import "components/milvus.jsonnet",
|
||||
grafana: import "components/grafana.jsonnet",
|
||||
trustgraph: import "components/trustgraph.jsonnet",
|
||||
azure: import "components/azure.jsonnet",
|
||||
bedrock: import "components/bedrock.jsonnet",
|
||||
cohere: import "components/cohere.jsonnet",
|
||||
claude: import "components/claude.jsonnet",
|
||||
ollama: import "components/ollama.jsonnet",
|
||||
openai: import "components/openai.jsonnet",
|
||||
mix: import "components/mix.jsonnet",
|
||||
vertexai: import "components/vertexai.jsonnet",
|
||||
};
|
||||
|
||||
local options = std.split(std.extVar("options"), ",");
|
||||
|
||||
local add = function(state, name) state + components[name];
|
||||
|
||||
local config = std.foldl(add, options, {});
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue