fix db connect

This commit is contained in:
soraefir
2026-06-06 22:32:10 +02:00
parent 2073475a37
commit 1ebd395ba9

View File

@@ -7,14 +7,15 @@ let
apiVersion = 1; apiVersion = 1;
datasources = [ datasources = [
{ {
name = "InfluxDB 3 SQL"; name = "Telegraf";
type = "influxdb"; type = "influxdb";
access = "proxy"; access = "proxy";
url = "http://influx-db"; url = "http://influx-db:8181";
jsonData = { jsonData = {
version = "SQL"; version = "SQL";
dbName = "telegraf"; dbName = "telegraf";
httpMode = "POST"; httpMode = "POST";
insecureGrpc = true;
}; };
secureJsonData = { secureJsonData = {
token = "\${INFLUXDB_TOKEN}"; token = "\${INFLUXDB_TOKEN}";