-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
36 lines (34 loc) · 1.15 KB
/
docker-compose.yaml
File metadata and controls
36 lines (34 loc) · 1.15 KB
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
services:
thor-solo:
image: vechain/thor:latest
hostname: thor-solo
container_name: thor-solo
user: root
ports:
- 8669:8669
command:
- solo
- --on-demand # create new block when there is pending transaction
- --api-addr=0.0.0.0:8669 # Enable remote connections
- --api-cors=* # comma separated list of domains to accept cross origin requests to API
- --gas-limit=10000000000000 # block gas limit
- --api-call-gas-limit=10000000000000 # limit contract call gas
- --txpool-limit=100000000000 # limit txpool size
- --txpool-limit-per-account=256 # limit txpool size per account
- --cache=1024 # megabytes of ram allocated to trie nodes cache
- --data-dir=/data/thor # data directory
- --verbosity=9
- --persist
healthcheck:
# We run the health check using standard UNIX tools so we don't have to
# install additional dependencies in the container.
test: wget -O- http://localhost:8669/blocks/1
interval: 5s
timeout: 20s
retries: 10
networks:
- vechain-thor
networks:
vechain-thor:
driver: bridge
name: vechain-thor