make a debug build and add FJORD

This commit is contained in:
Sebastian
2024-07-11 23:51:56 +02:00
parent d3cc2de14d
commit 37de16d3ce
2 changed files with 56 additions and 0 deletions

55
op-zora-archive-debug.yml Normal file
View File

@@ -0,0 +1,55 @@
version: '3.1'
services:
op-zora-archive:
build:
context: ./op
dockerfile: Dockerfile.debug
args:
OP_GETH_VERSION: v1.101315.2
ARG OP_GETH_COMMIT: 7c28198
OP_NODE_VERSION: v1.7.7
OP_NODE_COMMIT: f8143c8
expose:
- 8545 # RPC / Websocket
- 18322 # P2P TCP (currently unused)
- 18322/udp # P2P UDP (currently unused)
- 6060 # metrics
ports:
- "18322:18322"
- "18322:18322/udp"
command: [ "sh", "./geth-entrypoint" ]
restart: always
stop_grace_period: 3m
volumes:
- zora-archive:/data
- .jwtsecret:/jwtsecret
environment:
- "GETH_GENESIS_FILE_PATH=/app/mainnet/zora/genesis.json"
- "GETH_ROLLUP_SEQUENCERHTTP=https://rpc-zora-mainnet-0.t.conduit.xyz"
- "GETH_GCMODE=archive"
- "GETH_NODISCOVER=true"
- "GETH_STATE_SCHEME=hash"
- "GETH_DB_ENGINE=leveldb"
- "IP=${IP}"
- "P2P_PORT=18322"
- "WS_PORT=8545"
- "OP_NODE_L2_ENGINE_AUTH=/jwtsecret"
- "HOST_IP=${IP}"
- "GETH_OVERRIDE_CANYON=1704992401"
- "GETH_OVERRIDE_DELTA=1708560000"
- "GETH_OVERRIDE_ECOTONE=1710374401"
- "GETH_OVERRIDE_FJORD=1720627201"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.zora-stripprefix.stripprefix.prefixes=/zora-archive"
- "traefik.http.services.zora.loadbalancer.server.port=8545"
- "traefik.http.routers.zora.entrypoints=websecure"
- "traefik.http.routers.zora.tls.certresolver=myresolver"
- "traefik.http.routers.zora.rule=Host(`$DOMAIN`) && PathPrefix(`/zora-archive`)"
- "traefik.http.routers.zora.middlewares=zora-stripprefix, ipwhitelist"
networks:
- chains
volumes:
zora-archive:

View File

@@ -34,6 +34,7 @@ services:
- "GETH_OVERRIDE_CANYON=1704992401"
- "GETH_OVERRIDE_DELTA=1708560000"
- "GETH_OVERRIDE_ECOTONE=1710374401"
- "GETH_OVERRIDE_FJORD=1720627201"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.zora-stripprefix.stripprefix.prefixes=/zora-archive"