minor modifications to containers
This commit is contained in:
parent
3092630c08
commit
37768683d7
|
@ -52,7 +52,7 @@ in {
|
|||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
5432
|
||||
8096
|
||||
];
|
||||
};
|
||||
useHostResolvConf = lib.mkForce false;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
bitcoin-HMAC-public = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."software/bitcoind/bitcoin-HMAC-public".path;
|
||||
containerName = "bitcoin-node";
|
||||
containerIp = configVars.networking.addresses.bitcoin-node.ip;
|
||||
mempoolPort = configVars.networking.addresses.bitcoin-node.services.mempool.port;
|
||||
gatewayIp = configVars.networking.addresses.gateway.ip;
|
||||
allowip = configVars.networking.addresses.bitcoin-node.services.bitcoind.allowip;
|
||||
pubKeys = lib.filesystem.listFilesRecursive ../../users/keys;
|
||||
|
@ -146,7 +147,7 @@ in {
|
|||
enable = true;
|
||||
electrumServer = "electrs";
|
||||
frontend = {
|
||||
port = 4080;
|
||||
port = mempoolPort;
|
||||
address = "0.0.0.0";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue