-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.bak
181 lines (162 loc) · 3.96 KB
/
docker-compose.yml.bak
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
version: '3.3'
services:
bitcoin:
build:
context: ${BTC_FOLDER}
dockerfile: Dockerfile
args:
BACKEND_VERSION: ${BTC_BACKEND}
BLOCKBOOK_VERSION: ${BTC_BLOCKBOOK}
CURRENCY: ${BTC_CURRENCY}
image: jane-${BTC_CURRENCY}:${BTC_RELEASE}
container_name: crypto-${BTC_CURRENCY}
restart: always
ports:
- ${BTC_INSIGHT_PORT}:${BTC_INSIGHT_PORT}
- ${BTC_RPC_PORT}:${BTC_RPC_PORT}
volumes:
- btc_data:/opt/coins/data
btc:
build:
context: ./btc/
dockerfile: Dockerfile
image: crypto-btc
container_name: crypto-btc
restart: always
command:
-printtoconsole
ports:
- 10001:10001
volumes:
- bitcoin_data:/home/bitcoin/.bitcoin
- ./btc/bitcoin.conf:/home/bitcoin/.bitcoin/bitcoin.conf
ltc:
build:
context: ./ltc/
dockerfile: Dockerfile
image: crypto-ltc
container_name: crypto-ltc
restart: always
command:
-printtoconsole
ports:
- 10002:10002
volumes:
- litecoin_data:/home/litecoin/.litecoin
- ./ltc/litecoin.conf:/home/litecoin/.litecoin/litecoin.conf
dash:
build:
context: ./dash/
dockerfile: Dockerfile
image: crypto-dash
container_name: crypto-dash
restart: always
command:
-printtoconsole
ports:
- 10003:10003
volumes:
- dash_data:/home/dash/.dashcore
- ./dash/dash.conf:/home/dash/.dashcore/dash.conf
btg:
build:
context: ./btg/
dockerfile: Dockerfile
image: crypto-btg
container_name: crypto-btg
restart: always
command:
-printtoconsole
ports:
- 10006:10006
volumes:
- bitcoingold_data:/home/bitcoingold/.bitcoingold
- ./btg/bitcoingold.conf:/home/bitcoingold/.bitcoingold/bitcoingold.conf
bch:
build:
context: ./bch/
dockerfile: Dockerfile
image: crypto-bch
container_name: crypto-bch
restart: always
command:
-printtoconsole
ports:
- 10005:10005
volumes:
- bitcoincash_data:/home/bitcoin/.bitcoin
- ./bch/bitcoin.conf:/home/bitcoin/.bitcoin/bitcoin.conf
zec:
build:
context: ./zec/
dockerfile: Dockerfile
image: crypto-zec
container_name: crypto-zec
restart: always
# command:
# -printtoconsole
ports:
- 10004:10004
volumes:
- zcash_data:/root/.zcash
- ./zec/zcash.conf:/root/.zcash/zcash.conf
eth:
build:
context: ./eth/
dockerfile: Dockerfile
image: crypto-eth
container_name: crypto-eth
# command: --rpcapi "db,personal,eth,net,web3" --rpccorsdomain='*' --rpc --rpcaddr="0.0.0.0"
restart: always
ports:
- 8545:8545
- 30303:30303
- 30303:30303/udp
volumes:
- eth_data:/root/.ethereum
- /etc/localtime:/etc/localtime:ro
eth-netstats:
build:
context: ./eth/
dockerfile: Dockerfile.netstats
restart: on-failure
container_name: crypto-eth-netstats
environment:
- WS_SECRET=eth-net-stats-secret
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
networks:
default:
external:
name: ${NETWORK}
volumes:
bitcoin_data:
driver: local-persist
driver_opts:
mountpoint: "${LOCAL_VOLUME_MOUNT_POINT}/bitcoin"
litecoin_data:
driver: local-persist
driver_opts:
mountpoint: "${LOCAL_VOLUME_MOUNT_POINT}/litecoin"
dash_data:
driver: local-persist
driver_opts:
mountpoint: "${LOCAL_VOLUME_MOUNT_POINT}/dash"
bitcoingold_data:
driver: local-persist
driver_opts:
mountpoint: "${LOCAL_VOLUME_MOUNT_POINT}/bitcoingold"
bitcoincash_data:
driver: local-persist
driver_opts:
mountpoint: "${LOCAL_VOLUME_MOUNT_POINT}/bitcoincash"
zcash_data:
driver: local-persist
driver_opts:
mountpoint: "${LOCAL_VOLUME_MOUNT_POINT}/zcash"
eth_data:
driver: local-persist
driver_opts:
mountpoint: "${LOCAL_VOLUME_MOUNT_POINT}/ethereum"