run influx on bolty

This commit is contained in:
Cyryl Płotnicki 2023-11-02 18:04:13 +00:00
parent 7a97032c15
commit 718b0aa8fc
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,7 @@
./grafana.nix
./home-assistant.nix
./home-security.nix
./influxdb.nix
./logs.nix
./nas.nix
./networking.nix

View file

@ -5,7 +5,6 @@
lib,
...
}: let
fqdn = "bolty.raptor-carp.ts.net";
port = 8086;
path = "/data/influxdb";
certPath = "${path}/cert.pem";
@ -48,7 +47,7 @@ in {
services.influxdb2 = {
enable = true;
settings = {
http-bind-address = "${fqdn}:${toString port}";
http-bind-address = "0.0.0.0:${toString port}";
tls-cert = "${certPath}";
tls-key = "${keyPath}";
};