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

View File

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

View File

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