forked from charx0r/POKT_DOKT
-
Notifications
You must be signed in to change notification settings - Fork 7
/
base-sepolia.yml
102 lines (98 loc) · 5.34 KB
/
base-sepolia.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: '3.1'
services:
base-sepolia: # this is Optimism's geth client
build: ./base
expose:
- 8545 # RPC / Websocket
- 30765 # P2P TCP (currently unused)
- 30765/udp # P2P UDP (currently unused)
- 6060 # metrics
- 855
ports:
- "30765:30765"
- "30765:30765/udp"
#command: [ "sh", "./geth-entrypoint" ]
restart: always
stop_grace_period: 3m
entrypoint: ./geth
command: --datadir=/data --verbosity=3 --http --http.corsdomain=* --http.vhosts=* --http.addr=0.0.0.0 --http.port=8545 --http.api=web3,debug,eth,net,engine --authrpc.addr=0.0.0.0 --authrpc.port=8551 --authrpc.vhosts=* --authrpc.jwtsecret=/jwtsecret --ws --ws.addr=0.0.0.0 --ws.port=8545 --ws.origins=* --ws.api=debug,eth,net,engine --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --syncmode=snap --gcmode=full --state.scheme=path --db.engine=pebble --discovery.port=30765 --maxpeers=100 --op-network=base-sepolia --rollup.halt=major --rollup.sequencerhttp=https://sepolia-sequencer.base.org --port=30765 --nat=extip:${IP} --bootnodes="enode://548f715f3fc388a7c917ba644a2f16270f1ede48a5d88a4d14ea287cc916068363f3092e39936f1a3e7885198bef0e5af951f1d7b1041ce8ba4010917777e71f@18.210.176.114:30301,enode://6f10052847a966a725c9f4adf6716f9141155b99a0fb487fea3f51498f4c2a2cb8d534e680ee678f9447db85b93ff7c74562762c3714783a7233ac448603b25f@107.21.251.55:30301"
volumes:
- base-sepolia:/data
- .jwtsecret:/jwtsecret
environment:
- "OP_GETH_GENESIS_FILE_PATH=sepolia/genesis-l2.json"
- "OP_GETH_SEQUENCER_HTTP=https://sepolia-sequencer.base.org"
- "OP_GETH_GCMODE=full"
- "OP_GETH_SYNCMODE=snap"
- "GETH_SYNCMODE=snap"
- "GETH_BOOTNODES=enode://548f715f3fc388a7c917ba644a2f16270f1ede48a5d88a4d14ea287cc916068363f3092e39936f1a3e7885198bef0e5af951f1d7b1041ce8ba4010917777e71f@18.210.176.114:30301,enode://6f10052847a966a725c9f4adf6716f9141155b99a0fb487fea3f51498f4c2a2cb8d534e680ee678f9447db85b93ff7c74562762c3714783a7233ac448603b25f@107.21.251.55:30301"
- "OP_GETH_STATE_SCHEME=path"
- "GETH_STATE_SCHEME=path"
- "OP_GETH_DB_ENGINE=pebble"
- "OP_GETH_P2P_PORT=30765"
- "GETH_DISCOVERY_PORT=30765"
- "GETH_DB_ENGINE=pebble"
- "P2P_PORT=30765"
- "WS_PORT=8545"
- "IP=${IP}"
- "OP_NODE_L2_ENGINE_AUTH_RAW=${JWTSECRET}"
- "OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.base-sepolia-stripprefix.stripprefix.prefixes=/base-sepolia"
- "traefik.http.services.base-sepolia.loadbalancer.server.port=8545"
- "traefik.http.routers.base-sepolia.entrypoints=websecure"
- "traefik.http.routers.base-sepolia.tls.certresolver=myresolver"
- "traefik.http.routers.base-sepolia.rule=Host(`$DOMAIN`) && PathPrefix(`/base-sepolia`)"
- "traefik.http.routers.base-sepolia.middlewares=base-sepolia-stripprefix, ipwhitelist"
networks:
- chains
base-sepolia-node:
build: ./base
depends_on:
- base-sepolia
volumes:
- .jwtsecret:/jwtsecret
expose:
- 8545 # RPC
- 54844 # P2P TCP
- 54844/udp # P2P UDP
- 7300 # metrics
- 6060 # pprof
ports:
- "54844:54844"
- "54844:54844/udp"
#command: [ "sh", "./op-node-entrypoint" ]
entrypoint: ./op-node
restart: always
stop_grace_period: 30s
environment:
- "OP_NODE_NETWORK=base-sepolia"
- "OP_NODE_SYNCMODE=execution-layer"
- "OP_NODE_L1_ETH_RPC=${BASE_SEPOLIA_ENDPOINT}"
- "OP_NODE_L2_ENGINE_AUTH_RAW=${JWTSECRET}"
- "OP_NODE_L2_ENGINE_AUTH=/jwtsecret"
- "OP_NODE_L2_ENGINE_RPC=http://base-sepolia:8551"
- "OP_NODE_LOG_LEVEL=info"
- "OP_NODE_METRICS_ADDR=0.0.0.0"
- "OP_NODE_METRICS_ENABLED=true"
- "OP_NODE_METRICS_PORT=7300"
- "OP_NODE_P2P_AGENT=base"
- "OP_NODE_P2P_BOOTNODES=enr:-J64QBwRIWAco7lv6jImSOjPU_W266lHXzpAS5YOh7WmgTyBZkgLgOwo_mxKJq3wz2XRbsoBItbv1dCyjIoNq67mFguGAYrTxM42gmlkgnY0gmlwhBLSsHKHb3BzdGFja4S0lAUAiXNlY3AyNTZrMaEDmoWSi8hcsRpQf2eJsNUx-sqv6fH4btmo2HsAzZFAKnKDdGNwgiQGg3VkcIIkBg,enr:-J64QFa3qMsONLGphfjEkeYyF6Jkil_jCuJmm7_a42ckZeUQGLVzrzstZNb1dgBp1GGx9bzImq5VxJLP-BaptZThGiWGAYrTytOvgmlkgnY0gmlwhGsV-zeHb3BzdGFja4S0lAUAiXNlY3AyNTZrMaEDahfSECTIS_cXyZ8IyNf4leANlZnrsMEWTkEYxf4GMCmDdGNwgiQGg3VkcIIkBg"
- "OP_NODE_BETA_EXTRA_NETWORKS=true"
- "OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true"
- "OP_NODE_P2P_LISTEN_IP=0.0.0.0"
- "OP_NODE_P2P_LISTEN_TCP_PORT=54844"
- "OP_NODE_P2P_LISTEN_UDP_PORT=54844"
- "OP_NODE_ROLLUP_CONFIG=sepolia/rollup.json"
- "OP_NODE_RPC_ADDR=0.0.0.0"
- "OP_NODE_RPC_PORT=8545"
- "OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log"
- "OP_NODE_VERIFIER_L1_CONFS=4"
- "OP_NODE_L1_RPC_KIND=${BASE_SEPOLIA_ENDPOINT_KIND:-basic}"
- "OP_NODE_L1_TRUST_RPC=${BASE_SEPOLIA_ENDPOINT_TRUST:-false}"
- "OP_NODE_L1_BEACON=${BASE_SEPOLIA_ENDPOINT_BEACON}"
networks:
- chains
volumes:
base-sepolia: