Merge pull request #86 from zcash-hackworks/mdr0id-patch-dockerfile-add-volumes
Update Dockerfile
This commit is contained in:
commit
e3a7c58f1d
14
Dockerfile
14
Dockerfile
|
@ -31,11 +31,10 @@
|
||||||
#
|
#
|
||||||
# *** DO NOT USE IN PRODUCTION ***
|
# *** DO NOT USE IN PRODUCTION ***
|
||||||
#
|
#
|
||||||
# 1. Create docker-compose with according .env scaffolding
|
# - Create docker-compose with according .env scaffolding
|
||||||
# 2. Setup container volume for blocks dir; remove sync time
|
# - Determine librustzcash bug that breaks zcashd alpine builds at runtime
|
||||||
# 3. Determine librustzcash bug that breaks zcashd alpine builds at runtime
|
# - Once versioning is stable add config flags for images
|
||||||
# 4. Once versioning is stable add config flags for images
|
# - Add mainnet config once lightwalletd stack supports it
|
||||||
# 5. 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 "rpcbind=127.0.0.1" >> ${ZCASH_CONF} && \
|
||||||
echo "rpcport=18232" >> ${ZCASH_CONF} && \
|
echo "rpcport=18232" >> ${ZCASH_CONF} && \
|
||||||
echo "rpcuser=lwd" >> ${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…
Reference in New Issue