lbry-docker/chainquery/.env
Leopere 803dec45cb 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
2018-10-02 16:16:38 -04:00

2 lines
142 B
Bash

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)}