These phr docker images can be found on the docker hub: https://hub.docker.com/r/blocknetdx/phr/
These phr images are optimized for use with the Blocknet DX.
Note
These images are not a replacement or endorsement of the phr project (https://github.com/phoreproject/Phore).
Run a simple phr node on port 11771:
docker run -d --name=phr -p 11771:11771 blocknetdx/phr:latest
Run a phr node that persists the blockchain on a host directory. Recommended to avoid time consuming resyncs when updating to later container versions.
docker run -d --name=phr -p 11771:11771 -v=/crypto/phr/config:/opt/blockchain/config -v=/crypto/phr/data:/opt/blockchain/data blocknetdx/phr:0.17.0.1
See https://docs.docker.com/engine/admin/start-containers-automatically/
--restart=no|on-failure:retrycount|always|unless-stopped
docker run -d --restart=no --name=phr -p 11771:11771 blocknetdx/phr:0.17.0.1 phored -daemon=0 -rpcuser= -rpcpassword=123
docker run -d --restart=on-failure:10 --name=phr -p 11771:11771 blocknetdx/phr:0.17.0.1 phored -daemon=0 -rpcuser= -rpcpassword=123
docker run -d --restart=unless-stopped --name=bitcoin -p 11771:11771 blocknetdx/phr:0.17.0.1 phored -daemon=0 -rpcuser= -rpcpassword=123
docker run -d --restart=always --name=bitcoin -p 11771:11771 blocknetdx/phr:0.17.0.1 phored -daemon=0 -rpcuser= -rpcpassword=123
To login to the phr container and run RPC commands use the following command:
docker exec -it phr /bin/bash
The default configuration is below. A custom configuration file can be passed to the phr node container through the /opt/blockchain/config volume. Some of these parameters can also be adjusted on the command line.
datadir=/opt/blockchain/data
dbcache=256
maxmempool=512
port=8333 # testnet: 18333
rpcport=8332 # testnet: 18332
listen=1
server=1
logtimestamps=1
logips=1
rpcallowip=127.0.0.1
rpctimeout=15
rpcclienttimeout=15
This code is licensed under the Apache 2.0 License. Please refer to the LICENSE.
Content type
Image
Digest
Size
200.9 MB
Last updated
almost 5 years ago
docker pull blocknetdx/phore:v1.8.0