This commit is contained in:
Sebastian
2024-07-21 01:47:54 +02:00
parent cdd85770c5
commit 939300f84a

View File

@@ -12,26 +12,31 @@ services:
ports: ports:
- "54521:54521" - "54521:54521"
- "54521:54521/udp" - "54521:54521/udp"
#command: [ "sh", "./geth-entrypoint" ] command: [ "sh", "./geth-entrypoint" ]
entrypoint: ./geth #entrypoint: ./geth
command: --datadir=/data --rollup.sequencerhttp=https://rpc.sepolia-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 --bootnodes=enr:-Iu4QI5BdaTmfMhNKXd-vSniNRSCXk-a3m3nQbe9TCV3puGtCr6FvX6-Vr0Uvx4tYVilGCIYdQNf6fK8O2MKxVqjYJ8BgmlkgnY0gmlwhCKN6PiJc2VjcDI1NmsxoQLBQIaRwlvNxrRKcGtxKmh4JS_orkawS44D4KIORICoi4N0Y3CCIyuDdWRwgiMr --override.fjord=1716998400 --override.ecotone=1708534800 --override.canyon=0 --maxpeers=0 #command: --datadir=/data --rollup.sequencerhttp=https://rpc.sepolia-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 --bootnodes=enr:-Iu4QI5BdaTmfMhNKXd-vSniNRSCXk-a3m3nQbe9TCV3puGtCr6FvX6-Vr0Uvx4tYVilGCIYdQNf6fK8O2MKxVqjYJ8BgmlkgnY0gmlwhCKN6PiJc2VjcDI1NmsxoQLBQIaRwlvNxrRKcGtxKmh4JS_orkawS44D4KIORICoi4N0Y3CCIyuDdWRwgiMr --override.fjord=1716998400 --override.ecotone=1708534800 --override.canyon=0 --maxpeers=0
restart: always restart: always
stop_grace_period: 3m stop_grace_period: 3m
volumes: volumes:
- lisk-sepolia:/data - lisk-sepolia:/data
- .jwtsecret:/jwtsecret - .jwtsecret:/jwtsecret
environment: environment:
- "OP_GETH_GENESIS_FILE_PATH=/app/sepolia/lisk/genesis.json" - "GETH_GENESIS_FILE_PATH=/app/sepolia/lisk/genesis.json"
- "OP_GETH_SEQUENCER_HTTP=https://rpc.sepolia-api.lisk.com" - "GETH_ROLLUP_SEQUENCERHTTP=https://rpc.sepolia-api.lisk.com"
- "OP_GETH_BOOTNODES=enr:-Iu4QI5BdaTmfMhNKXd-vSniNRSCXk-a3m3nQbe9TCV3puGtCr6FvX6-Vr0Uvx4tYVilGCIYdQNf6fK8O2MKxVqjYJ8BgmlkgnY0gmlwhCKN6PiJc2VjcDI1NmsxoQLBQIaRwlvNxrRKcGtxKmh4JS_orkawS44D4KIORICoi4N0Y3CCIy\ - "GETH_GCMODE=full"
uDdWRwgiMr" - "GETH_NODISCOVER=true"
- "OP_GETH_GCMODE=full" - "GETH_STATE_SCHEME=hash"
- "OP_GETH_STATE_SCHEME=hash"
- "GETH_DB_ENGINE=pebble" - "GETH_DB_ENGINE=pebble"
- "P2P_PORT=54521" - "P2P_PORT=54521"
- "WS_PORT=8545" - "WS_PORT=8545"
- "OP_NODE_L2_ENGINE_AUTH_RAW=${JWTSECRET}"
- "OP_NODE_L2_ENGINE_AUTH=/jwtsecret" - "OP_NODE_L2_ENGINE_AUTH=/jwtsecret"
- "IP=${IP}"
- "GETH_OVERRIDE_CANYON=0"
- "GETH_OVERRIDE_DELTA=0"
- "GETH_OVERRIDE_ECOTONE=1708534800"
- "GETH_OVERRIDE_FJORD=1716998400"
- "GETH_BOOTNODES=enr:-Iu4QI5BdaTmfMhNKXd-vSniNRSCXk-a3m3nQbe9TCV3puGtCr6FvX6-Vr0Uvx4tYVilGCIYdQNf6fK8O2MKxVqjYJ8BgmlkgnY0gmlwhCKN6PiJc2VjcDI1NmsxoQLBQIaRwlvNxrRKcGtxKmh4JS_orkawS44D4KIORICoi4N0Y3CCIy\
uDdWRwgiMr"
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.base-stripprefix.stripprefix.prefixes=/lisk-sepolia" - "traefik.http.middlewares.base-stripprefix.stripprefix.prefixes=/lisk-sepolia"