Files
ethereum-rpc-docker/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml
squidbear d8e634a725 fix
2025-03-30 06:58:15 +02:00

60 lines
2.3 KiB
YAML

services:
bsc-chapel:
image: ghcr.io/bnb-chain/bsc:${BSC_VERSION:-1.5.8}
sysctls:
net.ipv4.tcp_slow_start_after_idle: 0
net.ipv4.tcp_no_metrics_save: 1
user: root
ports:
- "10759:10759"
- "10759:10759/udp"
expose:
- "8545"
volumes:
- bsc-chapel-bsc-pruned-pebble-path:/bsc/.ethereum
- /slowdisk:/slowdisk
- ./bsc-testnet/config:/config
entrypoint: [ "geth" ]
command:
- --chapel
- --config=/config/config.toml
- --db.engine=pebble
- --state.scheme=path
- --syncmode=snap
- --gcmode=full
- --rpc.gascap=600000000
- --nat=extip:${IP}
- --http
- --http.addr=0.0.0.0
- --http.port=8545
- --http.vhosts=*
- --http.api=eth,net,web3,txpool,parlia,debug,admin
- --ws
- --ws.addr=0.0.0.0
- --ws.port=8545
- --ws.origins=*
- --ws.api=net,web3,eth,debug
- --maxpeers=200
- --nodiscover=false
- --discovery.port=10759
- --port=10759
restart: unless-stopped
stop_grace_period: 3m
networks:
- chains
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.bsc-chapel-bsc-pruned-pebble-path-stripprefix.stripprefix.prefixes=/bsc-chapel"
- "traefik.http.services.bsc-chapel-bsc-pruned-pebble-path.loadbalancer.server.port=8545"
- "traefik.http.routers.bsc-chapel-bsc-pruned-pebble-path.entrypoints=websecure"
- "traefik.http.routers.bsc-chapel-bsc-pruned-pebble-path.tls.certresolver=myresolver"
- "traefik.http.routers.bsc-chapel-bsc-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/bsc-chapel`)"
- "traefik.http.routers.bsc-chapel-bsc-pruned-pebble-path.middlewares=bsc-chapel-bsc-pruned-pebble-path-stripprefix, ipwhitelist"
volumes:
bsc-chapel-bsc-pruned-pebble-path: