forked from base-org/node
-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
39 lines (39 loc) · 991 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
execution:
platform: linux/amd64
build:
context: .
dockerfile: ${CLIENT}/Dockerfile
args:
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
ports:
- "8545:8545" # RPC
- "8546:8546" # websocket
- "7301:6060" # metrics
command: [ "bash", "./execution-entrypoint" ]
volumes:
- ${HOST_DATA_DIR}:/data
env_file:
# select your network here:
# - .env.sepolia
- .env.mainnet
node:
platform: linux/amd64
build:
context: .
dockerfile: ${CLIENT}/Dockerfile
args:
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
depends_on:
- execution
ports:
- "9545:9545" # RPC
- "9222:9222" # P2P TCP
- "9222:9222/udp" # P2P UDP
- "7300:7300" # metrics
- "6060:6060" # pprof
command: [ "bash", "./op-node-entrypoint" ]
env_file:
# select your network here:
# - .env.sepolia
- .env.mainnet