docker部署quorum cakeshop集成开发环境

环境

os: centos7.6
docker-ce:19.03.5

启动容器

创建数据目录

mkdir /root/cakeshop-data

后台启动

docker run --name cakeshop -d -p 8080:8080 -v /root/cakeshop-data:/opt/cakeshop/data \
    -v $HOME/.ethash:/opt/cakeshop/.ethash \
    quorumengineering/cakeshop

配置文件:/root/cakeshop-data/local/application.properties

# Toggle managed mode: true = managed
geth.auto.start=true
geth.auto.stop=true

# RPC URL to connect to geth on [managed or unmanaged]
#
# In managed mode, the port is passed to --rpcport. --rpcaddr defaults to
# '127.0.0.1' but can be overridden via geth.params.extra, below.
#
# In unmanaged mode, simply uses this URL for issuing RPC calls.
geth.url=http://localhost:8102

# Sets the p2p node port (--port) [managed only]
geth.node.port=30303

# Network identifier (--networkid) [managed only]
geth.networkid=1006

# Data directory path (--datadir) [managed only]
#
# When set to the default value of "/.ethereum", will be rewritten to a local
# path at `data/<env>/ethereum`
geth.datadir=/.ethereum

# List of RPC APIs to enable [managed only]
#
# Only modify if you know what you are doing.
#
# NOTE: If running in `unmanaged` mode, make sure your geth is configured
#       to enable at least these APIs.
geth.rpcapi.list=admin,db,eth,debug,miner,net,raft,shh,txpool,personal,web3

# geth log verbosity (--verbosity) [managed or unmanaged]
#
# Higher is more verbose. Can be modified at runtime without restart via API.
geth.verbosity=

# Custom node name (--identity) [managed only]
geth.identity=

# Enable Mining (--mine) [managed or unmanaged]
#
# Can be modified at runtime without restart via API. Only applies to vanilla
# geth.
#
# When using Raft-based consensus with quorum, the mining value doesn't have any affect.
geth.mining=true

# Enable CORS for geth RPC endpoint [managed only]
geth.cors.enabled=false
geth.cors.url=

# Extra geth params [managed only]
geth.params.extra=

dashboard

浏览器打开:http://yourip:8080
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值