Random RPC passwords on startup
Pulling example from https://github.com/lbryio/chainquery#lbrycrd This should establish a random RPC pass every time the containers start
This commit is contained in:
parent
99ac0f950c
commit
803dec45cb
1 changed files with 2 additions and 0 deletions
2
chainquery/.env
Normal file
2
chainquery/.env
Normal file
|
@ -0,0 +1,2 @@
|
|||
COMPOSE_PROJECT_NAME=chainquery
|
||||
RPC_PASSWORD=${RPC_PASSWORD:-$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)}
|
Loading…
Reference in a new issue