Files
ethereum-rpc-docker/op-manta-pacific.yml
Sebastian 6f64867a27 dencun
2025-03-15 07:10:26 +01:00

117 lines
4.0 KiB
YAML

version: '3.4'
volumes:
manta-pacific-celestia-light:
manta-pacific:
services:
manta-pacific:
build:
context: ./manta-pacific
dockerfile: Dockerfile.l2
ports:
- "8545:8545"
- "8060:6060"
networks:
- chains
volumes:
- "manta-pacific:/db"
- "./manta-pacific/manta-genesis.json:/genesis.json"
- ".jwtsecret:/config/test-jwt-secret.txt"
environment:
GETH_OVERRIDE_CANYON: "1726783200"
GETH_OVERRIDE_ECOTONE: "1726783200"
WS_PORT: 8545
entrypoint:
- "/bin/sh"
- "/entrypoint.sh"
- "--rollup.sequencerhttp=https://manta-pacific.calderachain.xyz/http"
- "--authrpc.jwtsecret=/config/test-jwt-secret.txt"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.manta-pacific-mainnet-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet"
- "traefik.http.services.manta-pacific-mainnet.loadbalancer.server.port=8545"
- "traefik.http.routers.manta-pacific-mainnet.entrypoints=websecure"
- "traefik.http.routers.manta-pacific-mainnet.tls.certresolver=myresolver"
- "traefik.http.routers.manta-pacific-mainnet.rule=Host(`$DOMAIN`) && PathPrefix(`/manta-pacific-mainnet`)"
- "traefik.http.routers.manta-pacific-mainnet.middlewares=manta-pacific-mainnet-stripprefix, ipwhitelist"
# manta-pacific-da:
# stop_signal: SIGINT
# restart: unless-stopped
# user: root
# image: "ghcr.io/celestiaorg/celestia-node:v0.12.1"
# command: celestia light start --gateway --core.ip consensus.lunaroasis.net --gateway.addr light --gateway.port 23537
# environment:
# - NODE_TYPE=light
# volumes:
# - manta-pacific-celestia-light:/home/celestia/.celestia-light/
# expose:
# - 26658 # core rpc
# - 26657 # rpc
# ports:
# - "23537:23537" # gateway
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:23537/header/1"]
# interval: 10s
# timeout: 5s
# retries: 5
# start_period: 30s
manta-pacific-node:
depends_on:
- manta-pacific
image: "public.ecr.aws/i6b2w2n6/op-node:celestia-3.0.0-dencun"
stop_signal: SIGINT
stop_grace_period: 30s
networks:
- chains
environment:
OP_NODE_S3_BUCKET: "caldera-celestia-cache-prod"
OP_NODE_NAMESPACE_ID: 866269ddf77dbc40ed9d
OP_NODE_S3_REGION: 'us-west-2'
# OP_NODE_DA_RPC: "http://manta-pacific-da:26658"
# OP_NODE_AUTH_TOKEN: ${OP_NODE_AUTH_TOKEN}
CELESTIA_LEGACY_MODE: "true"
OP_NODE_OVERRIDE_CANYON: "1726783200"
OP_NODE_OVERRIDE_DELTA: "1726783200"
OP_NODE_OVERRIDE_ECOTONE: "1726783200"
OP_NODE_L1_BEACON_IGNORE: "true"
OP_NODE_L1_RPC_MAX_BATCH_SIZE: ${MANTA_PACIFIC_ETHEREUM_MAINNET_L1_BATCH_SIZE:-20}
OP_NODE_L1_RPC_RATE_LIMIT: ${MANTA_PACIFIC_ETHEREUM_MAINNET_L1_RATE_LIMIT:-30}
OP_NODE_L1_RPC_KIND: ${MANTA_PACIFIC_ETHEREUM_MAINNET_L1_ENDPOINT_KIND:-basic}
OP_NODE_L1_TRUST_RPC: ${MANTA_PACIFIC_ETHEREUM_MAINNET_L1_ENDPOINT_TRUST:-false}
command: >
op-node
--l1="${MANTA_PACIFIC_ETHEREUM_MAINNET_RPC_URL}"
--l2=http://manta-pacific:8551
--l2.jwt-secret=/config/test-jwt-secret.txt
--sequencer.enabled=false
--verifier.l1-confs=10
--rollup.config=/rollup.json
--rpc.addr=0.0.0.0
--rpc.port=8545
--p2p.no-discovery=false
--p2p.listen.ip=0.0.0.0
--p2p.listen.tcp=59690
--p2p.listen.udp=59690
--p2p.static=/ip4/35.82.210.70/tcp/9003/p2p/16Uiu2HAmL4fvgBQi5jcuiEYDaNcg4hpGqCmyAv4DZuSM8f2USYwQ
--p2p.priv.path=/config/p2p-node-key.txt
--metrics.enabled
--metrics.addr=0.0.0.0
--metrics.port=7300
--pprof.enabled
--rpc.enable-admin
ports:
- "7545:8545"
- "59690:59690"
- "7300:7300"
- "6060:6060"
volumes:
- "./manta-pacific/p2p-node-key.txt:/config/p2p-node-key.txt"
- ".jwtsecret:/config/test-jwt-secret.txt"
- "./manta-pacific/manta-rollup.json:/rollup.json"