Adding envvars for use in docker-compose.yml

This commit is contained in:
Leopere 2018-10-02 16:36:52 -04:00
parent 9ab7f8a81f
commit 67fe213e2a

5
lbrycrd/.env Normal file
View file

@ -0,0 +1,5 @@
COMPOSE_PROJECT_NAME=lbrycrd
RPC_USER=${RPC_USER=lbryrpc}
RPC_PASSWORD=${RPC_PASSWORD:-$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)}
## This should be the internal container IP from which you'll be calling the RPC for Lbrycrdd from.
RPC_ALLOW_IP=${RPC_ALLOW_IP:-10.5.0.2}