Browse Source
Merge pull request #86 from zcash-hackworks/mdr0id-patch-dockerfile-add-volumes
Update Dockerfile
service_pr
Marshall Gaucher
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
6 deletions
-
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] |
|
|
|