forked from charx0r/POKT_DOKT
-
Notifications
You must be signed in to change notification settings - Fork 7
/
bsc.yml
35 lines (31 loc) · 1.91 KB
/
bsc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '3.1'
services:
bsc:
image: ghcr.io/bnb-chain/bsc:1.4.15
user: root
ports:
- "29061:29061"
- "29061:29061/udp"
expose:
- "8545"
- "8546"
- "29061"
volumes:
- bsc:/bsc/.ethereum
- ./bsc/config:/bsc/config
entrypoint: geth
command: --config=/bsc/config/config.toml --ws.origins='*' --history.transactions=0 --state.scheme=path --syncmode=full --db.engine=pebble --rpc.gascap=600000000
restart: unless-stopped
stop_grace_period: 3m
networks:
- chains
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.bsc-stripprefix.stripprefix.prefixes=/bsc"
- "traefik.http.services.bsc.loadbalancer.server.port=8545"
- "traefik.http.routers.bsc.entrypoints=websecure"
- "traefik.http.routers.bsc.tls.certresolver=myresolver"
- "traefik.http.routers.bsc.rule=Host(`$DOMAIN`) && PathPrefix(`/bsc`)"
- "traefik.http.routers.bsc.middlewares=bsc-stripprefix, ipwhitelist"
volumes:
bsc: