-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
53 lines (52 loc) · 1.4 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
version: "3.6"
services:
chia-node1:
container_name: chia-node1
restart: unless-stopped
image: ghcr.io/chia-network/chia:latest
environment:
self_hostname: 0.0.0.0
log_level: INFO
keys: "/root/key"
service: "data_layer_http data"
ports:
- 8570:8575 # DataLayer File propagation
- 8560:8562 # DataLayer RPC
- 9250:9256 # Wallet RPC
networks:
- fake_lan
volumes:
#Keys
- ./keys/node1:/root/key
#DataLayer DB
- ./data/node1/datalayer/db:/root/.chia/mainnet/data_layer/db
#Wallet DB
- ./data/node1/wallet/db:/root/.chia/mainnet/wallet/db
#Config
- ./data/node1/config:/root/.chia/mainnet/config
chia-node2:
container_name: chia-node2
restart: unless-stopped
image: ghcr.io/chia-network/chia:latest
environment:
self_hostname: 0.0.0.0
keys: "/root/key"
log_level: INFO
service: "data_layer_http data"
ports:
- 8571:8575 # DataLayer File propagation
- 8561:8562 # DataLayer RPC
- 9251:9256 # Wallet RPC
networks:
- fake_lan
volumes:
#Keys
- ./keys/node2:/root/key
#DataLayer DB
- ./data/node2/datalayer/db:/root/.chia/mainnet/data_layer/db
#Wallet DB
- ./data/node2/wallet/db:/root/.chia/mainnet/wallet/db
#Config
- ./data/node2/config:/root/.chia/mainnet/config
networks:
fake_lan: