Skip to content

Commit

Permalink
specify free gas price network and removed useless build options (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMassart authored and MadelineMurray committed May 7, 2019
1 parent 0bc18b9 commit cfcbecd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
17 changes: 11 additions & 6 deletions privacy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
image: quickstart/pantheon:${PANTHEON_VERSION}-privacy
environment:
- PANTHEON_PUBLIC_KEY_DIRECTORY=${PANTHEON_PUBLIC_KEY_DIRECTORY}
entrypoint: /opt/pantheon/bootnode_start.sh --network=dev
entrypoint: /opt/pantheon/bootnode_start.sh --network=dev --min-gas-price=0
volumes:
- public-keys:${PANTHEON_PUBLIC_KEY_DIRECTORY}

Expand All @@ -18,7 +18,8 @@ services:
- PANTHEON_PUBLIC_KEY_DIRECTORY=${PANTHEON_PUBLIC_KEY_DIRECTORY}
command: ["--network=dev",
"--miner-enabled",
"--miner-coinbase=${MINER_COINBASE}"]
"--miner-coinbase=${MINER_COINBASE}",
"--min-gas-price=0"]
volumes:
- public-keys:${PANTHEON_PUBLIC_KEY_DIRECTORY}
depends_on:
Expand Down Expand Up @@ -51,7 +52,8 @@ services:
"--rpc-ws-host=0.0.0.0",
"--rpc-ws-port=8546",
"--rpc-http-api=EEA,WEB3,ETH,NET",
"--host-whitelist=*"]
"--host-whitelist=*",
"--min-gas-price=0"]
volumes:
- public-keys:${PANTHEON_PUBLIC_KEY_DIRECTORY}
- ${PWD}/pantheon/data1:/var/lib/pantheon
Expand All @@ -78,7 +80,8 @@ services:
"--rpc-ws-host=0.0.0.0",
"--rpc-ws-port=8546",
"--rpc-http-api=EEA,WEB3,ETH,NET",
"--host-whitelist=*"]
"--host-whitelist=*",
"--min-gas-price=0"]
volumes:
- public-keys:${PANTHEON_PUBLIC_KEY_DIRECTORY}
- ${PWD}/pantheon/data2:/var/lib/pantheon
Expand All @@ -104,7 +107,8 @@ services:
"--rpc-ws-host=0.0.0.0",
"--rpc-ws-port=8546",
"--rpc-http-api=EEA,WEB3,ETH,NET",
"--host-whitelist=*"]
"--host-whitelist=*",
"--min-gas-price=0"]
volumes:
- public-keys:${PANTHEON_PUBLIC_KEY_DIRECTORY}
- ${PWD}/orion/orion3:/etc/pantheon
Expand All @@ -126,7 +130,8 @@ services:
"--rpc-ws-enabled",
"--rpc-ws-host=0.0.0.0",
"--rpc-ws-port=8546",
"--host-whitelist=*"]
"--host-whitelist=*",
"--min-gas-price=0"]
volumes:
- public-keys:${PANTHEON_PUBLIC_KEY_DIRECTORY}
depends_on:
Expand Down
3 changes: 1 addition & 2 deletions privacy/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ mkdir -p pantheon/data3/database
mkdir -p pantheon/data3/private

# Build and run containers and network
docker-compose build
docker-compose up --force-recreate -d
docker-compose up -d

./list.sh

0 comments on commit cfcbecd

Please sign in to comment.