This repository was archived by the owner on Feb 9, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
209 lines (200 loc) · 5.41 KB
/
docker-compose.yml
File metadata and controls
209 lines (200 loc) · 5.41 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
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
services:
bitcoind:
container_name: bitcoin
image: btcpayserver/bitcoin:26.0
restart: unless-stopped
expose:
- '18443'
- '39388'
- '28334'
- '28335'
- '28336'
ports:
- '18443:18443'
- '39388:39388'
- '28334:28334'
- '28335:28335'
- '28336:28336'
volumes:
- 'b_home:/home/bitcoin/.bitcoin'
environment:
BITCOIN_NETWORK: ${NBITCOIN_NETWORK:-regtest}
CREATE_WALLET: 'true'
BITCOIN_WALLETDIR: '/walletdata'
BITCOIN_EXTRA_ARGS: |
rpcport=18443
rpcbind=0.0.0.0:18443
rpcallowip=0.0.0.0/0
port=39388
whitelist=0.0.0.0/0
maxmempool=500
rpcauth=polaruser:5e5e98c21f5c814568f8b55d83b23c1c$$066b03f92df30b11de8e4b1b1cd5b1b4281aa25205bd57df9be82caf97a05526
txindex=1
fallbackfee=0.00001
zmqpubrawblock=tcp://0.0.0.0:28334
zmqpubrawtx=tcp://0.0.0.0:28335
zmqpubhashblock=tcp://0.0.0.0:28336
bitcoinsetup:
image: btcpayserver/bitcoin:26.0
depends_on:
- bitcoind
restart: 'no'
volumes:
- 'b_home:/home/bitcoin/.bitcoin'
user: bitcoin
# generate one block so electrs stop complaining
entrypoint:
[
'bash',
'-c',
'sleep 1; while ! bitcoin-cli -rpcconnect=bitcoind -generate 1; do sleep 1; done',
]
electrs:
container_name: electrum
image: getumbrel/electrs:v0.10.2
restart: unless-stopped
depends_on:
- bitcoind
expose:
- '60001'
ports:
- '60001:60001'
volumes:
- './electrs.toml:/data/electrs.toml'
environment:
- ELECTRS_NETWORK=regtest
- ELECTRS_ELECTRUM_RPC_ADDR=electrs:60001
- ELECTRS_DAEMON_RPC_ADDR=bitcoind:18443
- ELECTRS_DAEMON_P2P_ADDR=bitcoind:39388
- ELECTRS_LOG_FILTERS=INFO
lnd:
container_name: lnd
image: polarlightning/lnd:0.18.0-beta
restart: unless-stopped
depends_on:
- bitcoind
expose:
- '8080' # REST
- '9735' # P2P
- '10009' # RPC
ports:
- '8080:8080'
- '9735:9735'
- '10009:10009'
volumes:
- './lnd:/home/lnd/.lnd/data/chain/bitcoin/regtest'
command:
- '--noseedbackup'
- '--alias=lnd'
- '--externalip=lnd'
- '--bitcoin.active'
- '--bitcoin.regtest'
- '--bitcoin.node=bitcoind'
- '--bitcoind.rpchost=bitcoind:18443'
- '--bitcoind.rpcuser=polaruser'
- '--bitcoind.rpcpass=polarpass'
- '--bitcoind.zmqpubrawblock=tcp://bitcoind:28334'
- '--bitcoind.zmqpubrawtx=tcp://bitcoind:28335'
- '--debuglevel=info'
- '--listen=0.0.0.0:9735'
- '--rpclisten=0.0.0.0:10009'
- '--restlisten=0.0.0.0:8080'
- '--feeurl=http://nginx:9090/btc-fee-estimates.json'
clightning:
container_name: clightning
image: polarlightning/clightning:24.05
restart: unless-stopped
depends_on:
- bitcoind
expose:
- '18081' # REST
- '9736' # P2P
- '11001' # RPC
ports:
- '18081:18081'
- '9736:9736'
- '11001:11001'
volumes:
- './clightning:/opt/c-lightning-rest/certs/'
command:
- '--alias=clightning'
- '--addr=0.0.0.0:9736'
- '--network=regtest'
- '--bitcoin-rpcuser=polaruser'
- '--bitcoin-rpcpassword=polarpass'
- '--bitcoin-rpcconnect=bitcoin'
- '--bitcoin-rpcport=18443'
- '--log-level=debug'
- '--dev-bitcoind-poll=2'
- '--dev-fast-gossip'
- '--grpc-port=11001'
- '--log-file=-' # log to stdo
- '--bitcoin-rpcport=18443'
- '--clnrest-port=18081'
- '--clnrest-protocol=http'
- '--clnrest-host=0.0.0.0'
- '--developer'
eclair:
container_name: eclair
image: polarlightning/eclair:0.10.0
restart: unless-stopped
depends_on:
- bitcoind
expose:
- '28081' # REST
- '9737' # P2P
ports:
- '28081:28081'
- '9737:9737'
command:
- 'polar-eclair'
- '--server.public-ips.0=eclair'
- '--server.port=9737'
- '--api.enabled=true'
- '--api.binding-ip=0.0.0.0'
- '--api.port=28081'
- '--api.password=eclairpw'
- '--chain=regtest'
- '--bitcoind.host=bitcoin'
- '--bitcoind.rpcport=18443'
- '--bitcoind.rpcuser=polaruser'
- '--bitcoind.rpcpassword=polarpass'
- '--bitcoind.zmqblock=tcp://bitcoin:28336'
- '--bitcoind.zmqtx=tcp://bitcoin:28335'
- '--datadir=/home/eclair/.eclair'
- '--printToConsole=true'
- '--on-chain-fees.feerate-tolerance.ratio-low=0.00001'
- '--on-chain-fees.feerate-tolerance.ratio-high=10000.0'
nginx:
container_name: nginx
image: nginx:1.27
restart: unless-stopped
depends_on:
- bitcoinsetup
volumes:
- './nginx.conf:/etc/nginx/conf.d/default.conf'
- './btc-fee-estimates.json:/www/btc-fee-estimates.json'
expose:
- '9090'
- '9091'
- '9092'
ports:
- '9090:9090'
- '9091:9091'
- '9092:9092'
ldk-backup-server:
container_name: ldk-backup-server
# image: synonymsoft/ldk-backup-server:1.0.0
build: ../../backup-server/
expose:
- '3003'
ports:
- '3003:3003'
environment:
HOST: '0.0.0.0'
PORT: '3003'
SECRET_KEY: 'e3e2d2e410569be1f2219e1ef21f188f7ccff1ce721ea2624263d3fe9878f69e'
PUBLIC_KEY: '0319c4ff23820afec0c79ce3a42031d7fef1dff78b7bdd69b5560684f3e1827675'
volumes:
b_home:
networks: {}