97 lines
2.7 KiB
YAML
97 lines
2.7 KiB
YAML
version: '3.4'
|
|
|
|
volumes:
|
|
l1_data:
|
|
l2_data:
|
|
op_log:
|
|
|
|
services:
|
|
l2:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.l2
|
|
ports:
|
|
- "8545:8545"
|
|
- "8060:6060"
|
|
volumes:
|
|
- "${PWD}/manta-datadir:/db"
|
|
- "${PWD}/manta-genesis.json:/genesis.json"
|
|
- "${PWD}/jwt-secret.txt:/config/test-jwt-secret.txt"
|
|
entrypoint:
|
|
- "/bin/sh"
|
|
- "/entrypoint.sh"
|
|
- "--rollup.sequencerhttp=https://manta-pacific.calderachain.xyz/http"
|
|
- "--authrpc.jwtsecret=/config/test-jwt-secret.txt"
|
|
|
|
light:
|
|
container_name: celestia-light-node
|
|
stop_signal: SIGINT
|
|
restart: always
|
|
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 26659
|
|
environment:
|
|
- NODE_TYPE=light
|
|
volumes:
|
|
- /home/ubuntu/.celestia-light/:/home/celestia/.celestia-light/
|
|
ports:
|
|
- "26657:26657"
|
|
- "26658:26658"
|
|
- "26659:26659"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:26659/header/1"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 30s
|
|
|
|
op-node:
|
|
depends_on:
|
|
- l2
|
|
image: "public.ecr.aws/i6b2w2n6/op-node:5.2.0"
|
|
stop_signal: SIGINT
|
|
stop_grace_period: 30s
|
|
environment:
|
|
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_S3_BUCKET: "caldera-celestia-cache-prod"
|
|
OP_NODE_NAMESPACE_ID: 866269ddf77dbc40ed9d
|
|
# OP_NODE_DA_RPC: "http://light:26658"
|
|
# OP_NODE_AUTH_TOKEN: ${OP_NODE_AUTH_TOKEN}
|
|
OP_NODE_S3_REGION: 'us-west-2'
|
|
command: >
|
|
op-node
|
|
--l1="${L1_RPC_URL}"
|
|
--l2=http://l2: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=9003
|
|
--p2p.listen.udp=9003
|
|
--p2p.static=/ip4/35.82.210.70/tcp/9003/p2p/16Uiu2HAmGa9Ba4jHW8WVJTfHw2b3f2g7mNmeYtMXy6bhKiLENfcH
|
|
--snapshotlog.file=/op_log/snapshot.log
|
|
--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"
|
|
- "9003:9003"
|
|
- "7300:7300"
|
|
- "6060:6060"
|
|
volumes:
|
|
- "${PWD}/p2p-node-key.txt:/config/p2p-node-key.txt"
|
|
- "${PWD}/jwt-secret.txt:/config/test-jwt-secret.txt"
|
|
- "${PWD}/manta-rollup.json:/rollup.json"
|
|
- op_log:/op_log
|