mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-02-16 04:06:51 +00:00
finish nomad, add consul, sops
This commit is contained in:
@@ -31,13 +31,20 @@ in {
|
|||||||
# package = myPkg;
|
# package = myPkg;
|
||||||
enable = true;
|
enable = true;
|
||||||
webUi = true;
|
webUi = true;
|
||||||
consulAddr = "0.0.0.0:8500";
|
# consulAddr = "0.0.0.0:8500";
|
||||||
interface.bind = "end0";
|
interface.bind = "end0";
|
||||||
extraConfigFiles = [config.sops.secrets."consul_encrypt.json".path];
|
extraConfigFiles = [config.sops.secrets."consul_encrypt.json".path];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
bootstrap = false;
|
bootstrap = false;
|
||||||
server = true;
|
server = true;
|
||||||
bootstrap_expect = 3;
|
bootstrap_expect = 3;
|
||||||
|
addresses = {
|
||||||
|
dns = "0.0.0.0";
|
||||||
|
grpc = "0.0.0.0";
|
||||||
|
http = "0.0.0.0";
|
||||||
|
https = "0.0.0.0";
|
||||||
|
};
|
||||||
|
|
||||||
performance = {
|
performance = {
|
||||||
raft_multiplier = 5;
|
raft_multiplier = 5;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user