mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-07 13:55:14 +02:00
Put Docker Compose config resources in the docker-compose directory, (#90)
Put Docker Compose config resources in the docker-compose directory to save having to workaround directory structures.
This commit is contained in:
parent
ef1b8b5a13
commit
647010be9f
1 changed files with 6 additions and 6 deletions
|
|
@ -132,7 +132,7 @@ def generate_all(output, version):
|
||||||
version=version
|
version=version
|
||||||
)
|
)
|
||||||
|
|
||||||
fname =f"{platform}/tg-{model}-{graph}.yaml"
|
fname = f"{platform}/tg-{model}-{graph}.yaml"
|
||||||
|
|
||||||
output(fname, y)
|
output(fname, y)
|
||||||
|
|
||||||
|
|
@ -155,21 +155,21 @@ with zipfile.ZipFile(outfile, mode='w') as out:
|
||||||
|
|
||||||
# Placeholder for the private.json file. Won't put actual credentials
|
# Placeholder for the private.json file. Won't put actual credentials
|
||||||
# here.
|
# here.
|
||||||
output("vertexai/private.json", private_json)
|
output("docker-compose/vertexai/private.json", private_json)
|
||||||
|
|
||||||
# Grafana config
|
# Grafana config
|
||||||
with open("grafana/dashboards/dashboard.json") as f:
|
with open("grafana/dashboards/dashboard.json") as f:
|
||||||
output("grafana/dashboards/dashboard.json", f.read())
|
output("docker-compose/grafana/dashboards/dashboard.json", f.read())
|
||||||
|
|
||||||
with open("grafana/provisioning/dashboard.yml") as f:
|
with open("grafana/provisioning/dashboard.yml") as f:
|
||||||
output("grafana/provisioning/dashboard.yml", f.read())
|
output("docker-compose/grafana/provisioning/dashboard.yml", f.read())
|
||||||
|
|
||||||
with open("grafana/provisioning/datasource.yml") as f:
|
with open("grafana/provisioning/datasource.yml") as f:
|
||||||
output("grafana/provisioning/datasource.yml", f.read())
|
output("docker-compose/grafana/provisioning/datasource.yml", f.read())
|
||||||
|
|
||||||
# Prometheus config
|
# Prometheus config
|
||||||
with open("prometheus/prometheus.yml") as f:
|
with open("prometheus/prometheus.yml") as f:
|
||||||
output("prometheus/prometheus.yml", f.read())
|
output("docker-compose/prometheus/prometheus.yml", f.read())
|
||||||
|
|
||||||
# A README
|
# A README
|
||||||
with open("templates/zip-readme.md") as f:
|
with open("templates/zip-readme.md") as f:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue