fix files
This commit is contained in:
@@ -66,7 +66,7 @@ in {
|
|||||||
trigger = "server";
|
trigger = "server";
|
||||||
envFile = config.sops.secrets."INFLUX".path;
|
envFile = config.sops.secrets."INFLUX".path;
|
||||||
script = pkgs.writeShellScript "setup" ''
|
script = pkgs.writeShellScript "setup" ''
|
||||||
cat > ${serverCfg.path.config}/influxdb/config.json << 'EOF'
|
cat > ${serverCfg.path.config}/influxdb/config.json << EOF
|
||||||
{
|
{
|
||||||
"DEFAULT_INFLUX_SERVER": "http://${builder.host}:8181",
|
"DEFAULT_INFLUX_SERVER": "http://${builder.host}:8181",
|
||||||
"DEFAULT_INFLUX_DATABASE": "main",
|
"DEFAULT_INFLUX_DATABASE": "main",
|
||||||
@@ -75,7 +75,7 @@ in {
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat > ${serverCfg.path.config}/influxdb/admin-token.json << 'EOF'
|
cat > ${serverCfg.path.config}/influxdb/admin-token.json << EOF
|
||||||
{
|
{
|
||||||
"token": "$INFLUXDB_TOKEN",
|
"token": "$INFLUXDB_TOKEN",
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
|
|||||||
Reference in New Issue
Block a user