Files
status-linea-besu/quickstart/docker-compose.yml
Rob Dawson 6b2470274a Use consistent ports for quickstart (#62)
* specify the port for the ports command in the docker compose file so we get consistent ports to bind to.
* add options for fixed ports and skip build
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 17:51:16 +10:00

53 lines
1.4 KiB
YAML

version: '2.2'
services:
bootnode:
build:
context: ../
dockerfile: quickstart/pantheon/Dockerfile
image: quickstart/pantheon:latest
entrypoint: /opt/pantheon/bootnode_start.sh --dev-mode
volumes:
- public-keys:/opt/pantheon/public-keys
minernode:
image: quickstart/pantheon:latest
# The address 0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 is one of the addresses in the
# dev mode genesys file
command: ["--dev-mode",
"--miner-enabled",
"--miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"]
volumes:
- public-keys:/opt/pantheon/public-keys
depends_on:
- bootnode
node:
image: quickstart/pantheon:latest
command: ["--dev-mode"]
volumes:
- public-keys:/opt/pantheon/public-keys
depends_on:
- bootnode
rpcnode:
image: quickstart/pantheon:latest
command: ["--dev-mode",
"--rpc-enabled",
"--rpc-listen=0.0.0.0:8545",
"--ws-enabled",
"--ws-listen=0.0.0.0:8546",
"--rpc-cors-origins=*"]
volumes:
- public-keys:/opt/pantheon/public-keys
depends_on:
- bootnode
ports:
- "${RPC_PORT_MAPPING}8545"
- "${WS_PORT_MAPPING}8546"
explorer:
build:
context: explorer
image: ethereum-explorer:latest
depends_on:
- rpcnode
ports:
- "${EXPLORER_PORT_MAPPING}3000"
volumes:
public-keys: