Removed rpcuser / pass and went to cookie file

This commit is contained in:
barry 2024-02-11 19:30:35 -06:00
parent 7cd72b6f87
commit 8db286b34b
3 changed files with 7 additions and 5 deletions

View File

@ -58,14 +58,15 @@ server=${SERVER:-1}
listen=${LISTEN:-1}
listenonion=${LISTENONION:-0}
daemon=${DAEMON:-0}
txindex=${TXINDEX:-1}
prune=${PRUNE=-0}
txindex=${TXINDEX:-0}
prune=${PRUNE:-0}
disablewallet=${DISABLEWALLET:-1}
printtoconsole=${PRINTTOCONSOLE:-1}
# rpc
rpcuser=${RPCUSER:-bitcoinrpc}
rpcpassword=${RPCPASSWORD:-`dd if=/dev/urandom bs=33 count=1 2>/dev/null | base64`}
#rpcuser=${RPCUSER:-bitcoinrpc}
#rpcpassword=${RPCPASSWORD:-`dd if=/dev/urandom bs=33 count=1 2>/dev/null | base64`}
rpccookiefile=.cookie
#rpcconnect=${RPCCONNECT:-127.0.0.1}
#rpcport=${RPCPORT:-8332}
#rpcauth=${RPCAUTH:-xxx}

View File

@ -6,7 +6,7 @@ Image={{ registry_url }}/electrs:{{ electrs_version }}
PodmanArgs=--pod bitcoin-pod
# Use volume
Volume=/home/{{ansible_user}}/.bitcoin:/bitcoin/.bitcoin:Z
Volume=/home/{{ansible_user}}/.bitcoin:/root/.bitcoin:Z
[Service]
# Restart service when sleep finishes

View File

@ -39,6 +39,7 @@
- cockpit-podman
- zerotier-one
- python3-pip
- smartmontools
- caddy
- name: Reboot System