mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-09 15:28:09 -05:00
* 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>
53 lines
1.4 KiB
YAML
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: |