bitcoin-sv

4ops/bitcoin-sv/digitalocean

Terraform Module HCL DIGITALOCEAN

Deploy bitcoin sv full node

Install
module "bitcoin-sv" {
source = "4ops/bitcoin-sv/digitalocean"
version = "2.0.1"
}
plain text: /constructs/tfmod-4ops-bitcoin-sv-digitalocean/install.txt
⭐ Source on GitHub 📦 Registry page
README

Bitcoin SV - Creates virtual server(s) with docker - Creates cloud volume(s) and mount to /srv - Register server(s) in domain var.domain - Creates cloud firewall and apply network policy to server(s) - Deploy bitcoin-sv in /srv/bitcoin Components _Bitcoin SV_ is the original Bitcoin. It restores the original Bitcoin protocol, will keep it stable, and allow it to massively scale. - Original software git repo: - Docker image git repo: Cloud resources - DigitalOcean droplet - DigitalOcean volume - DigitalOcean cloud firewall Default firewall rules Incoming - Allow SSH from var.trusted_sources Outgoing - Allow tcp to world - Allow udp to world - Allow icmp to world

Inputs (25)
NameTypeDescriptionDefault
regionstringRequired. DigitalOcean region for droplet creation. required
trusted_sourceslistRequired. IP list to allow SSH and bitcoin rpc connections from. required
backupsboolEnable backups feature for droplet. false
random_idboolAppends random id to droplet's name if `true`. true
domain_ttlnumberTTL in seconds for domain records. 300
tagslistList of existing tags for droplet. []
private_networkingboolEnable DigitalOcean private networking. true
rpc_passwordstringPassword for JSON-RPC connections. If empty, random password will be generated. ""
prunenumberReduce storage requirements by enabling pruning (deleting) of old blocks. This a0
namestringName of service. Used as name prefix when generating hostnames. "bitcoin-sv"
onlynetstringOnly connect to nodes in network <net> (ipv4, ipv6 or onion). Default: ipv4 "ipv4"
imagestringBitcoin SV docker image tag. "4ops/bitcoin-sv:v0.2.1"
testnetboolUse test network or main if `false`. true
rpc_userstringUsername for JSON-RPC connections. "bitcoin-client"
extra_argslistBitcoin extra arguments. []
txindexboolMaintain a full transaction index, used by the getrawtransaction rpc call. Defaufalse
bitcoin_exporterboolInstalls bitcoin-exporter. Default: true true
sizestringSize of droplet. "s-2vcpu-4gb"
domainstringDomain name. Host will be registered in this domain if non-empty value assigned.""
ssh_keyslistList of SSH keys registered in DigitalOcean. User `root` authorized with this ke[]
serversnumberCount of servers to create. 1
provisioner_usernamestringThis user will be added and used inside this module only. "provisioner"
Outputs (8)
fqdn
private_key
public_key
rpc_password
ipv4
ipv4_private
ipv6
name
Resources (2)
null_resourcerandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.1
Cloud DIGITALOCEAN
★ Stars5
Forks2
Total downloads785
Inputs25
Outputs8
Resources2
LicenseMIT
Namespace4ops
Updated