Add bitcoind configuration and prefect variables
- Add bitcoind IP and port configuration variables - Update prefect variables for bitcoind ip and port - Maintain existing configurations for other services
This commit is contained in:
parent
70a788f588
commit
7cffeffca9
|
@ -14,6 +14,8 @@
|
||||||
gatewayIp = configVars.networking.addresses.gateway.ip;
|
gatewayIp = configVars.networking.addresses.gateway.ip;
|
||||||
postgresIp = configVars.networking.addresses.postgres.ip;
|
postgresIp = configVars.networking.addresses.postgres.ip;
|
||||||
postgresPort = toString configVars.networking.addresses.postgres.port;
|
postgresPort = toString configVars.networking.addresses.postgres.port;
|
||||||
|
bitcoindIp = configVars.networking.addresses.bitcoin-node.ip;
|
||||||
|
bitcoindPort = toString configVars.networking.addresses.bitcoin-node.services.bitcoind.port;
|
||||||
|
|
||||||
#secrets
|
#secrets
|
||||||
sshKeyFile = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."ssh_keys/baseddata-models-access/id_ed25519".path;
|
sshKeyFile = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."ssh_keys/baseddata-models-access/id_ed25519".path;
|
||||||
|
@ -228,6 +230,8 @@ in {
|
||||||
.venv/bin/prefect variable set "postgres_pwd" $(cat /run/secrets/postgresPassword) --overwrite
|
.venv/bin/prefect variable set "postgres_pwd" $(cat /run/secrets/postgresPassword) --overwrite
|
||||||
.venv/bin/prefect variable set "bitcoin_rpc_password" $(cat /run/secrets/bitcoindRPCPassword) --overwrite
|
.venv/bin/prefect variable set "bitcoin_rpc_password" $(cat /run/secrets/bitcoindRPCPassword) --overwrite
|
||||||
.venv/bin/prefect variable set "bitcoin_rpc_username" $(cat /run/secrets/bitcoindRPCUsername) --overwrite
|
.venv/bin/prefect variable set "bitcoin_rpc_username" $(cat /run/secrets/bitcoindRPCUsername) --overwrite
|
||||||
|
.venv/bin/prefect variable set "bitcoind_ip" ${bitcoindIp} --overwrite
|
||||||
|
.venv/bin/prefect variable set "bitcoind_port" ${bitcoindPort} --overwrite
|
||||||
|
|
||||||
.venv/bin/prefect variable set "osm_history_dir" "/media/baseddata-data/osm-history" --overwrite
|
.venv/bin/prefect variable set "osm_history_dir" "/media/baseddata-data/osm-history" --overwrite
|
||||||
.venv/bin/prefect variable set "mongo_db_name" "baseddata" --overwrite
|
.venv/bin/prefect variable set "mongo_db_name" "baseddata" --overwrite
|
||||||
|
|
Loading…
Reference in New Issue