Skip to content

Commit

Permalink
Configure influx server
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Mar 5, 2024
1 parent 1e1a469 commit 9431847
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ Cargo.lock

dnas/**/*.dna
happs/**/*.happ

/influx/.influxdbv2
11 changes: 10 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@
inputsFrom = [
inputs.holochain.devShells.${system}.holonix
];
packages = [];
packages = [
pkgs.influxdb2-cli
pkgs.influxdb2-server
];

shellHook = ''
export INFLUXD_BOLT_PATH=`pwd`/influx/.influxdbv2/influxd.bolt
export INFLUXD_ENGINE_PATH=`pwd`/influx/.influxdbv2/engine
export INFLUXD_CONFIG_PATH=`pwd`/influx
'';
};
};
};
Expand Down
6 changes: 6 additions & 0 deletions influx/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# All options here https://docs.influxdata.com/influxdb/v2/reference/config-options/

e2e-testing: true # Allows clearing stores between tests.
http-bind-address: ":8087"
reporting-disabled: true # Don't send telemetry back to Influx
storage-validate-keys: true

0 comments on commit 9431847

Please sign in to comment.