forked from GuardianLabs/polygon-dash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (62 loc) · 2.1 KB
/
docker-compose.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.8'
services:
pg:
image: postgres:latest
restart: always
ports:
- 1234:5432
volumes:
- ./pg_data:/var/lib/postgresql/data
env_file:
- creds.env
bor:
image: shockedshodan/plaguedbor:latest
restart: always
command:
- server
- --datadir=/datadir
- --port=30303
- --http
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.port=8545
- --ipcpath=/datadir/bor.ipc
- --http.api=eth,net,web3,txpool,bor
- --syncmode=full
- --miner.gasprice=30000000000
- --miner.gaslimit=30000000
- --txpool.nolocals
- --txpool.accountslots=16
- --txpool.globalslots=32768
- --txpool.accountqueue=16
- --txpool.globalqueue=32768
- --txpool.pricelimit=30000000000
- --txpool.lifetime=1h30m0s
- --gpo.ignoreprice=30000000000
- --maxpeers=50
- --metrics
- --bootnodes=enode://b8f1cc9c5d4403703fbf377116469667d2b1823c0daf16b7250aa576bacf399e42c3930ccfcb02c5df6879565a2b8931335565f0e8d3f8e72385ecf4a4bf160a@3.36.224.80:30303,enode://8729e0c825f3d9cad382555f3e46dcff21af323e89025a0e6312df541f4a9e73abfa562d64906f5e59c51fe6f0501b3e61b07979606c56329c020ed739910759@54.194.245.5:30303,enode://0cb82b395094ee4a2915e9714894627de9ed8498fb881cec6db7c65e8b9a5bd7f2f25cc84e71e89d0947e51c76e85d0847de848c7782b13c0255247a6758178c@44.232.55.71:30303,enode://88116f4295f5a31538ae409e4d44ad40d22e44ee9342869e7d68bdec55b0f83c1530355ce8b41fbec0928a7d75a5745d528450d30aec92066ab6ba1ee351d710@159.203.9.164:30303,enode://3178257cd1e1ab8f95eeb7cc45e28b6047a0432b2f9412cff1db9bb31426eac30edeb81fedc30b7cd3059f0902b5350f75d1b376d2c632e1b375af0553813e6f@35.221.13.28:30303
volumes:
- ./bor_datadir:/datadir
ports:
- 8545:8545
- 8546:8546
- 8547:8547
- 30303:30303
- 30303:30303/udp
depends_on:
- backend
env_file:
- creds.env
backend:
restart: always
depends_on:
- pg
build: ./backend
volumes:
- dbdata:/app/src/polydash/dbdata
ports:
- 5500:5500
volumes:
dbdata: