-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
43 lines (42 loc) · 1.1 KB
/
docker-compose.yaml
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
---
version: '3.6'
services:
rpcnode:
restart: "on-failure"
healthcheck:
test: ["CMD", "wget", "--spider", "--proxy", "off", "http://localhost:22000"]
interval: 3s
timeout: 3s
retries: 10
start_period: 5s
image: enterchain/ichain:rpc
entrypoint:
- /bin/sh
- -c
- |
UDS_WAIT=10
geth \
--identity ichain-rpc \
--datadir data \
--nodiscover \
--verbosity 3 \
--networkid 3639 \
--http \
--http.corsdomain "*" \
--http.vhosts "*" \
--http.addr 0.0.0.0 \
--http.port 22000 \
--http.api eth,debug,miner,net,txpool,personal,web3,istanbul \
--ws --ws.addr 0.0.0.0 --ws.port 32000 --ws.origins "*" \
--ws.api eth,trace,debug,net,txpool,personal,web3,istanbul \
--miner.gasprice 1000000000000000000
--rpc.txfeecap 1000000000000000000000
--rpc.gascap 50000000000
--raftdnsenable
container_name: ichainrpcnode
volumes:
- ./bootnodes/bootnodes.json:/data/static-nodes.json
ports:
- 22000:22000/tcp
- 32000:32000/tcp
- 30303:30303