-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
116 lines (116 loc) · 3.65 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: "3"
services:
factomd:
build:
context: https://github.com/FactomProject/factomd.git
dockerfile: Dockerfile.alpine
volumes:
# Volume where the blockchain is located.
- ./volumes/factomd:/root/.factom/m2
# Volume that holds the factomd.conf file.
- ./config/factomd.conf:/root/.factom/m2/factomd.conf:ro
expose:
# Factomd API
- 8088
ports:
# Control panel
- 8090:8090
# P2P
- 8108:8108
restart: unless-stopped
container_name: factomd
logging: &Logging
options:
max-size: "500k"
max-file: "10"
walletd:
build:
context: https://github.com/FactomProject/factom-walletd.git
dockerfile: Dockerfile.alpine
volumes:
# Volume where wallet information is stored
- ./volumes/walletd:/root/.factom/wallet
# Volume that holds the factomd.conf file
- ./config/factomd.conf:/root/.factom/m2/factomd.conf:ro
expose:
# Wallet API
- 8089
depends_on:
- factomd
restart: unless-stopped
container_name: factom_walletd
logging: *Logging
pegnetd:
build:
context: https://github.com/pegnet/pegnetd.git
dockerfile: Dockerfile
volumes:
- ./config/pegnetd.toml:/go/src/github.com/pegnet/pegnetd/pegnetd-conf.toml:ro
- ./volumes/pegnetd:/root/.pegnetd
- ./volumes/pegnet:/root/.lxrhash
depends_on:
- factomd
- walletd
expose:
# Wallet API
- 8070
restart: unless-stopped
entrypoint: pegnetd
container_name: pegnetd
logging: *Logging
factom-cli:
build:
context: https://github.com/FactomProject/factom-cli.git
dockerfile: Dockerfile.alpine
volumes:
- ./config/factomd.conf:/root/.factom/m2/factomd.conf:ro
container_name: factom_cli
logging: *Logging
pegnet:
build:
context: https://github.com/pegnet/pegnet.git
volumes:
- ./config/pegnet.ini:/root/.pegnet/defaultconfig.ini:ro
# ByteMap table
- ./volumes/pegnet:/root/.lxrhash
ports:
# Control panel
- 8080:8080
# Miner API
# - 8099:8099
container_name: pegnet
entrypoint: ./pegnet
command: ["--miners", "${MINERS:-1}", "--log", "${LOG:-debug}"]
logging: *Logging
pegnet-netcoordinator:
build:
context: https://github.com/pegnet/pegnet.git
volumes:
- ./config/pegnet.ini:/root/.pegnet/defaultconfig.ini:ro
# ByteMap table
- ./volumes/pegnet:/root/.lxrhash
ports:
# Control panel
- 8080:8080
# Miner API
- 7777:7777
container_name: pegnet_coordinator
entrypoint: ./pegnet
command: "netcoordinator"
logging: *Logging
pegnet-netminer:
build:
context: https://github.com/pegnet/pegnet.git
volumes:
- ./config/pegnet.ini:/root/.pegnet/defaultconfig.ini:ro
# ByteMap table
- ./volumes/pegnet:/root/.lxrhash
ports:
# Control panel
- 8080:8080
# Miner API
# - 8099:8099
container_name: pegnet
entrypoint: ./pegnet
command: ["netminer", "--miners", "${MINERS:-1}"]
logging: *Logging