Browse Source

Update Dockerfile

Add docker volumes for the params and block datadirs, so other containers can mount from random chain points
service_pr
Marshall Gaucher 5 years ago
committed by GitHub
parent
commit
6b04ab1449
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      Dockerfile

14
Dockerfile

@ -31,11 +31,10 @@
#
# *** DO NOT USE IN PRODUCTION ***
#
# 1. Create docker-compose with according .env scaffolding
# 2. Setup container volume for blocks dir; remove sync time
# 3. Determine librustzcash bug that breaks zcashd alpine builds at runtime
# 4. Once versioning is stable add config flags for images
# 5. Add mainnet config once lightwalletd stack supports it
# - Create docker-compose with according .env scaffolding
# - Determine librustzcash bug that breaks zcashd alpine builds at runtime
# - Once versioning is stable add config flags for images
# - Add mainnet config once lightwalletd stack supports it
#
# ************************************************************************/
@ -94,4 +93,7 @@ RUN echo "testnet=1" >> ${ZCASH_CONF} && \
echo "rpcbind=127.0.0.1" >> ${ZCASH_CONF} && \
echo "rpcport=18232" >> ${ZCASH_CONF} && \
echo "rpcuser=lwd" >> ${ZCASH_CONF} && \
echo "rpcpassword=`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 ; echo ''`" >> ${ZCASH_CONF}
echo "rpcpassword=`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 ; echo ''`" >> ${ZCASH_CONF}
VOLUME [/root/.zcash]
VOLUME [/root/.zcash-params]

Loading…
Cancel
Save