let's try
This commit is contained in:
95
op-lisk-mainnet.yml
Normal file
95
op-lisk-mainnet.yml
Normal file
@@ -0,0 +1,95 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
op-lisk-sepolia: # this is Optimism's geth client
|
||||
#image: stakesquid/op-lisk-sepolia:v0.1
|
||||
build: ./op
|
||||
expose:
|
||||
- 8545 # RPC / Websocket
|
||||
- 6999 # P2P TCP (currently unused)
|
||||
- 6999/udp # P2P UDP (currently unused)
|
||||
- 6060 # metrics
|
||||
ports:
|
||||
- "6999:6999"
|
||||
- "6999:6999/udp"
|
||||
#command: [ "sh", "./geth-entrypoint" ]
|
||||
entrypoint: ./geth
|
||||
command: --datadir=/data --rollup.sequencerhttp=https://rpc.api.lisk.com --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
|
||||
restart: always
|
||||
stop_grace_period: 3m
|
||||
volumes:
|
||||
- lisk-mainnet:/data
|
||||
- .jwtsecret:/jwtsecret
|
||||
environment:
|
||||
- "OP_GETH_GENESIS_FILE_PATH=/app/mainnet/lisk/genesis.json"
|
||||
- "OP_GETH_SEQUENCER_HTTP=https://rpc.api.lisk.com"
|
||||
- "OP_GETH_GCMODE=full"
|
||||
- "OP_GETH_STATE_SCHEME=hash"
|
||||
- "GETH_DB_ENGINE=pebble"
|
||||
- "P2P_PORT=6999"
|
||||
- "WS_PORT=8545"
|
||||
- "OP_NODE_L2_ENGINE_AUTH_RAW=${JWTSECRET}"
|
||||
- "OP_NODE_L2_ENGINE_AUTH=/jwtsecret"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.base-stripprefix.stripprefix.prefixes=/lisk-mainnet"
|
||||
- "traefik.http.services.base.loadbalancer.server.port=8545"
|
||||
- "traefik.http.routers.base.entrypoints=websecure"
|
||||
- "traefik.http.routers.base.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.base.rule=Host(`$DOMAIN`) && PathPrefix(`/lisk-mainnet`)"
|
||||
- "traefik.http.routers.base.middlewares=base-stripprefix, ipwhitelist"
|
||||
networks:
|
||||
- chains
|
||||
|
||||
|
||||
op-lisk-mainnet-node:
|
||||
#image: stakesquid/op-lisk-mainnet:v0.1
|
||||
build: ./op
|
||||
depends_on:
|
||||
- op-lisk-mainnet
|
||||
expose:
|
||||
- 8545 # RPC
|
||||
- 3074 # P2P TCP
|
||||
- 3074/udp # P2P UDP
|
||||
- 7300 # metrics
|
||||
- 6060 # pprof
|
||||
ports:
|
||||
- "3074:3074"
|
||||
- "3074:3074/udp"
|
||||
command: [ "sh", "./op-node-entrypoint" ]
|
||||
restart: always
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret
|
||||
- ./op/mainnet/lisk/rollup.json:/app/mainnet/lisk/rollup.json
|
||||
stop_grace_period: 30s
|
||||
environment:
|
||||
#- "OP_NODE_NETWORK=lisk-mainnet"
|
||||
- "OP_NODE_L1_ETH_RPC=${LISK_MAINNET_L1_ENDPOINT}"
|
||||
#- "OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a"
|
||||
- "OP_NODE_L2_ENGINE_AUTH_RAW=${JWTSECRET}"
|
||||
- "OP_NODE_L2_ENGINE_AUTH=/jwtsecret"
|
||||
- "OP_NODE_L2_ENGINE_RPC=http://op-lisk-mainnet: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=lisk"
|
||||
- "OP_NODE_P2P_LISTEN_IP=0.0.0.0"
|
||||
- "OP_NODE_P2P_LISTEN_TCP_PORT=3074"
|
||||
- "OP_NODE_P2P_LISTEN_UDP_PORT=3074"
|
||||
- "OP_NODE_ROLLUP_CONFIG=/app/mainnet/lisk/rollup.json"
|
||||
- "OP_NODE_RPC_ADDR=0.0.0.0"
|
||||
- "OP_NODE_P2P_ADVERTISE_IP=${IP}"
|
||||
- "OP_NODE_RPC_PORT=8545"
|
||||
- "OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log"
|
||||
- "OP_NODE_VERIFIER_L1_CONFS=4"
|
||||
- "OP_NODE_L1_RPC_MAX_BATCH_SIZE=${LISK_MAINNET_L1_BATCH_SIZE:-20}"
|
||||
- "OP_NODE_L1_RPC_RATE_LIMIT=${LISK_MAINNET_L1_RATE_LIMIT:-30}"
|
||||
- "OP_NODE_L1_RPC_KIND=${LISK_MAINNET_L1_ENDPOINT_KIND:-basic}"
|
||||
- "OP_NODE_L1_TRUST_RPC=${LISK_MAINNET_L1_ENDPOINT_TRUST:-false}"
|
||||
- "OP_NODE_L1_BEACON=${LISK_MAINNET_L1_BEACON_URL}"
|
||||
networks:
|
||||
- chains
|
||||
|
||||
volumes:
|
||||
lisk-mainnet:
|
||||
15344
op/mainnet/lisk/genesis.json
Normal file
15344
op/mainnet/lisk/genesis.json
Normal file
File diff suppressed because one or more lines are too long
33
op/mainnet/lisk/rollup.json
Normal file
33
op/mainnet/lisk/rollup.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"genesis": {
|
||||
"l1": {
|
||||
"hash": "0xd580bdbd001908860f225c16ddaa08ada64471a68435694760c111253d97ffce",
|
||||
"number": 19788720
|
||||
},
|
||||
"l2": {
|
||||
"hash": "0x5a693d1d8ee27b8e62868d0349af430a2d2e173c8c8988e7b0c9ef91893cbf00",
|
||||
"number": 0
|
||||
},
|
||||
"l2_time": 1714728791,
|
||||
"system_config": {
|
||||
"scalar": "0x00000000000000000000000000000000000000000000000000000000000f4240",
|
||||
"gasLimit": 30000000,
|
||||
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
|
||||
"batcherAddr": "0xa6ea2f3299b63c53143c993d2d5e60a69cd6fe24"
|
||||
}
|
||||
},
|
||||
"block_time": 2,
|
||||
"delta_time": 0,
|
||||
"canyon_time": 0,
|
||||
"l1_chain_id": 1,
|
||||
"l2_chain_id": 1135,
|
||||
"ecotone_time": 0,
|
||||
"regolith_time": 0,
|
||||
"channel_timeout": 300,
|
||||
"seq_window_size": 3600,
|
||||
"batch_inbox_address": "0xff00000000000000000000000000000000001135",
|
||||
"max_sequencer_drift": 600,
|
||||
"deposit_contract_address": "0x26db93f8b8b4f7016240af62f7730979d353f9a7",
|
||||
"l1_system_config_address": "0x05f23282ffdca8286e4738c1af79079f3d843750",
|
||||
"protocol_versions_address": "0x0000000000000000000000000000000000000000"
|
||||
}
|
||||
Reference in New Issue
Block a user