Files
ethereum-rpc-docker/op-lisk-sepolia.yml
Sebastian 084089958a path lisk
2024-02-29 05:43:55 +01:00

85 lines
3.5 KiB
YAML

version: '3.1'
services:
op-lisk-sepolia: # this is Optimism's geth client
image: stakesquid/op-lisk-sepolia:v0.1
expose:
- 8545 # RPC / Websocket
- 54521 # P2P TCP (currently unused)
- 54521/udp # P2P UDP (currently unused)
- 6060 # metrics
ports:
- "54521:54521"
- "54521:54521/udp"
command: [ "sh", "./geth-entrypoint" ]
restart: always
stop_grace_period: 30s
volumes:
- lisk-sepolia:/data
environment:
- "OP_GETH_GENESIS_FILE_PATH=/app/sepolia/lisk/genesis.json"
#- "OP_GETH_SEQUENCER_HTTP=https://mainnet-sequencer.base.org"
- "OP_GETH_GCMODE=full"
- "OP_GETH_STATE_SCHEME=path"
- "GETH_DB_ENGINE=pebble"
- "CHAIN_NAME=lisk-sepolia"
- "P2P_PORT=54521"
- "WS_PORT=8545"
- "OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a"
- "OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.base-stripprefix.stripprefix.prefixes=/lisk-sepolia"
- "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-sepolia`)"
- "traefik.http.routers.base.middlewares=base-stripprefix, ipwhitelist"
networks:
- chains
op-lisk-sepolia-node:
image: stakesquid/op-lisk-sepolia:v0.1
depends_on:
- op-lisk-sepolia
expose:
- 8545 # RPC
- 18660 # P2P TCP
- 18660/udp # P2P UDP
- 7300 # metrics
- 6060 # pprof
ports:
- "18660:18660"
- "18660:18660/udp"
command: [ "sh", "./op-node-entrypoint" ]
restart: always
stop_grace_period: 30s
environment:
- "OP_NODE_NETWORK=lisk-sepolia"
- "OP_NODE_L1_ETH_RPC=${ETHEREUM_SEPOLIA_ENDPOINT}"
- "OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a"
- "OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt"
- "OP_NODE_L2_ENGINE_RPC=http://op-lisk-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=lisk"
- "OP_NODE_P2P_BOOTNODES=enr:-Iu4QI5BdaTmfMhNKXd-vSniNRSCXk-a3m3nQbe9TCV3puGtCr6FvX6-Vr0Uvx4tYVilGCIYdQNf6fK8O2MKxVqjYJ8BgmlkgnY0gmlwhCKN6PiJc2VjcDI1NmsxoQLBQIaRwlvNxrRKcGtxKmh4JS_orkawS44D4KIORICoi4N0Y3CCIyuDdWRwgiMr"
- "OP_NODE_P2P_LISTEN_IP=0.0.0.0"
- "OP_NODE_P2P_LISTEN_TCP_PORT=18660"
- "OP_NODE_P2P_LISTEN_UDP_PORT=18660"
- "OP_NODE_ROLLUP_CONFIG=/app/sepolia/lisk/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=${ETHEREUM_SEPOLIA_ENDPOINT_KIND:-basic}"
- "OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPLIA_ENDPOINT_TRUST:-false}"
networks:
- chains
volumes:
lisk-sepolia: