forked from charx0r/POKT_DOKT
-
Notifications
You must be signed in to change notification settings - Fork 7
/
bsc-testnet.yml
35 lines (31 loc) · 2.01 KB
/
bsc-testnet.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-testnet:
image: ghcr.io/bnb-chain/bsc:1.4.15
user: root
ports:
- "17474:17474"
- "17474:17474/udp"
expose:
- "8545"
- "8546"
- "17474"
volumes:
- bsc-testnet:/bsc/.ethereum
- ./bsc-testnet/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-testnet-stripprefix.stripprefix.prefixes=/bsc-testnet"
- "traefik.http.services.bsc-testnet.loadbalancer.server.port=8545"
- "traefik.http.routers.bsc-testnet.entrypoints=websecure"
- "traefik.http.routers.bsc-testnet.tls.certresolver=myresolver"
- "traefik.http.routers.bsc-testnet.rule=Host(`$DOMAIN`) && PathPrefix(`/bsc-testnet`)"
- "traefik.http.routers.bsc-testnet.middlewares=bsc-testnet-stripprefix, ipwhitelist"
volumes:
bsc-testnet: