This repository has been archived by the owner on Oct 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
107 lines (101 loc) · 2.48 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
##########################################
#
# Sparkswap Broker-CLI and Broker-Daemon
# https://sparkswap.com
#
# Troubleshooting GRPC:
# - GRPC_VERBOSITY=INFO
# - GRPC_TRACE=all
#
##########################################
version: '2.4'
services:
sparkswapd:
image: sparkswap/broker:0.8.0-beta-rc2
depends_on:
- lnd_btc
- lnd_ltc
volumes:
# block order and other sparkswap storage
- 'sparkswapd:/data'
# This is populated externally w/ an engine
- 'shared:/shared'
# Persistent certs/keys for broker
- '${SECURE_PATH}:/secure'
# Backups folder
- './backup:/backup'
environment:
- DEBUG=info
- NODE_ENV=production
- DATA_DIR=${DATA_DIR:-}
- NETWORK=${NETWORK}
- RPC_HTTP_PROXY_ADDRESS=${RPC_HTTP_PROXY_ADDRESS:-}
- RPC_USER=${RPC_USER}
- RPC_PASS=${RPC_PASS}
- RPC_PUB_KEY=${RPC_PUB_KEY:-}
- RPC_PRIV_KEY=${RPC_PRIV_KEY:-}
- ID_PRIV_KEY=${ID_PRIV_KEY:-}
- ID_PUB_KEY=${ID_PUB_KEY:-}
- RELAYER_RPC_HOST=${RELAYER_RPC_HOST}
- RELAYER_CERT_PATH=${RELAYER_CERT_PATH:-}
ports:
- '27492:27492'
- '27592:27592'
networks:
- broker
working_dir: '/home/app'
lnd_btc:
image: sparkswap/lnd_btc:0.6.0-beta-rc7
ports:
- '10113:9735'
environment:
- RPC_USER=${BTC_RPC_USER}
- RPC_PASS=${BTC_RPC_PASS}
- RPC_HOST=${BTC_RPC_HOST:-}
- EXTERNAL_ADDRESS=${EXTERNAL_BTC_ADDRESS:-}
- EXTERNAL_PORT=10113
- NETWORK=${NETWORK}
- DEBUG=info
- ZMQPUBRAWBLOCK=${BTC_ZMQPUBRAWBLOCK:-}
- ZMQPUBRAWTX=${BTC_ZMQPUBRAWTX:-}
volumes:
- 'shared:/shared'
- 'lnd_btc:/data'
- './backup:/backup'
networks:
- broker
logging:
options:
max-size: 50m
restart: on-failure
lnd_ltc:
image: sparkswap/lnd_ltc:0.6.0-beta-rc7
ports:
- '10114:9735'
environment:
- RPC_USER=${LTC_RPC_USER}
- RPC_PASS=${LTC_RPC_PASS}
- RPC_HOST=${LTC_RPC_HOST:-}
- EXTERNAL_ADDRESS=${EXTERNAL_LTC_ADDRESS:-}
- EXTERNAL_PORT=10114
- NETWORK=${NETWORK}
- DEBUG=info
- ZMQPUBRAWBLOCK=${LTC_ZMQPUBRAWBLOCK:-}
- ZMQPUBRAWTX=${LTC_ZMQPUBRAWTX:-}
volumes:
- 'shared:/shared'
- 'lnd_ltc:/data'
- './backup:/backup'
networks:
- broker
logging:
options:
max-size: 50m
restart: on-failure
volumes:
shared:
lnd_btc:
lnd_ltc:
sparkswapd:
networks:
broker: