fix
This commit is contained in:
@@ -4,33 +4,6 @@
|
||||
services:
|
||||
celo-mainnet-archive:
|
||||
image: ${CELO_GETH_IMAGE:-us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth}:${CELO_MAINNET_GETH_VERSION:-celo-v2.0.0}
|
||||
user: root
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
expose:
|
||||
- 8545
|
||||
- 8551
|
||||
ports:
|
||||
- 10993:10993
|
||||
- 10993:10993/udp
|
||||
volumes:
|
||||
- ${CELO_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-celo-mainnet-op-geth-archive-leveldb-hash}:/data
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
environment:
|
||||
- GETH_OP_NETWORK=celo-mainnet
|
||||
entrypoint: [/bin/sh, -c, exec /usr/local/bin/geth "$@"]
|
||||
command:
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
@@ -55,10 +28,24 @@ services:
|
||||
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
entrypoint: [/bin/sh, -c, exec /usr/local/bin/geth "$@"]
|
||||
restart: unless-stopped
|
||||
user: root
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
ports:
|
||||
- 10993:10993
|
||||
- 10993:10993/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 8551
|
||||
volumes:
|
||||
- ${CELO_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-celo-mainnet-op-geth-archive-leveldb-hash}:/data
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
environment:
|
||||
- GETH_OP_NETWORK=celo-mainnet
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.celo-mainnet-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/celo-mainnet-archive
|
||||
@@ -68,12 +55,31 @@ services:
|
||||
- ${NO_SSL:-traefik.http.routers.celo-mainnet-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && PathPrefix(`/celo-mainnet-archive`)}
|
||||
- ${NO_SSL:+traefik.http.routers.celo-mainnet-op-geth-archive-leveldb-hash.rule=PathPrefix(`/celo-mainnet-archive`)}
|
||||
- traefik.http.routers.celo-mainnet-op-geth-archive-leveldb-hash.middlewares=celo-mainnet-op-geth-archive-leveldb-hash-stripprefix, ipwhitelist
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
|
||||
celo-mainnet-archive-node:
|
||||
image: ${CELO_NODE_IMAGE:-us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-node}:${CELO_MAINNET_NODE_VERSION:-celo-v2.0.0}
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- chains
|
||||
ports:
|
||||
- 15993:15993
|
||||
- 15993:15993/udp
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
environment:
|
||||
- NODE_IMAGE=us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-node
|
||||
- NODE_VERSION=celo-v2.0.0
|
||||
@@ -103,18 +109,17 @@ services:
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=execution-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
restart: unless-stopped
|
||||
|
||||
celo-mainnet-archive-relay:
|
||||
image: ${CELO_EIGENDA_PROXY_IMAGE:-ghcr.io/layr-labs/eigenda-proxy}:${CELO_MAINNET_EIGENDA_PROXY_VERSION:-v1.6.4}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- chains
|
||||
ports:
|
||||
- 20993:20993
|
||||
- 20993:20993/udp
|
||||
volumes:
|
||||
- ${CELO_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH__EIGENDA_DATA:-celo-mainnet-op-geth-archive-leveldb-hash_eigenda}:/data
|
||||
environment:
|
||||
- EIGENDA_PROXY_EIGENDA_CONFIRMATION_DEPTH=1
|
||||
- EIGENDA_PROXY_EIGENDA_GRPC_DISABLE_TLS=false
|
||||
@@ -124,11 +129,6 @@ services:
|
||||
- EIGENDA_PROXY_IMAGE=ghcr.io/layr-labs/eigenda-proxy
|
||||
- EIGENDA_PROXY_PORT=20993
|
||||
- EIGENDA_PROXY_VERSION=v1.6.4
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${CELO_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH__EIGENDA_DATA:-celo-mainnet-op-geth-archive-leveldb-hash_eigenda}:/data
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
celo-mainnet-op-geth-archive-leveldb-hash:
|
||||
|
||||
Reference in New Issue
Block a user