aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-27 14:06:17 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-27 14:06:17 +0100
commit7d486b3907cdd902d38d799eba9651966f0e7c4f (patch)
tree8de1905adf3ddc9f83902672fb53d70bc6c6e221
parent2de09a059410a15e0bcb897f0625a05104f74163 (diff)
downloadnixcfg-7d486b3907cdd902d38d799eba9651966f0e7c4f.tar.gz
nixcfg-7d486b3907cdd902d38d799eba9651966f0e7c4f.zip
kibana configuration
-rw-r--r--app/telemetry/deploy/telemetry.hcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/telemetry/deploy/telemetry.hcl b/app/telemetry/deploy/telemetry.hcl
index b394699..65f4f7c 100644
--- a/app/telemetry/deploy/telemetry.hcl
+++ b/app/telemetry/deploy/telemetry.hcl
@@ -21,10 +21,11 @@ job "telemetry" {
template {
data = <<EOH
-SERVER_NAME=kibana.local
+SERVER_NAME={{ env "attr.unique.hostname" }}
ELASTICSEARCH_HOSTS=http://localhost:9200
ELASTICSEARCH_USERNAME=kibana_system
ELASTICSEARCH_PASSWORD={{ key "secrets/telemetry/elastic_passwords/kibana_system" }}
+SERVER_PUBLICBASEURL=https://kibana.home.adnab.me
EOH
destination = "secrets/env"
env = true