-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.e2e.yaml
More file actions
140 lines (134 loc) · 3.35 KB
/
Copy pathdocker-compose.e2e.yaml
File metadata and controls
140 lines (134 loc) · 3.35 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
volumes:
e2e-db:
e2e-lnd:
e2e-lnd-payer:
e2e-bitcoind:
e2e-nostr-relay:
services:
db:
image: mariadb:latest
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: lnvps
ports:
- "3377:3306"
volumes:
- "e2e-db:/var/lib/mysql"
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-u", "root", "-proot"]
interval: 3s
timeout: 5s
retries: 10
redis:
image: redis:latest
ports:
- "6399:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 3s
timeout: 5s
retries: 10
bitcoind:
image: btcpayserver/bitcoin:26.0
environment:
BITCOIN_NETWORK: regtest
BITCOIN_EXTRA_ARGS: |
rpcuser=polaruser
rpcpassword=polarpass
rpcallowip=0.0.0.0/0
rpcbind=0.0.0.0
server=1
listen=1
txindex=1
fallbackfee=0.00001
zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawtx=tcp://0.0.0.0:28333
ports:
- "18443:18443"
- "28332:28332"
- "28333:28333"
volumes:
- "e2e-bitcoind:/home/bitcoin/.bitcoin"
healthcheck:
test: ["CMD", "bitcoin-cli", "-regtest", "-rpcuser=polaruser", "-rpcpassword=polarpass", "getblockchaininfo"]
interval: 3s
timeout: 5s
retries: 30
lnd:
image: lightninglabs/lnd:v0.18.5-beta
depends_on:
bitcoind:
condition: service_healthy
environment:
LND_ENVIRONMENT: regtest
command:
- lnd
- --noseedbackup
- --norest
- --debuglevel=info
- --bitcoin.active
- --bitcoin.regtest
- --bitcoin.node=bitcoind
- --bitcoind.rpchost=bitcoind:18443
- --bitcoind.rpcuser=polaruser
- --bitcoind.rpcpass=polarpass
- --bitcoind.zmqpubrawblock=tcp://bitcoind:28332
- --bitcoind.zmqpubrawtx=tcp://bitcoind:28333
- --rpclisten=0.0.0.0:10009
- --tlsextradomain=lnd
- --tlsextraip=0.0.0.0
ports:
- "10009:10009"
volumes:
- "e2e-lnd:/root/.lnd"
healthcheck:
test: ["CMD", "lncli", "--network=regtest", "getinfo"]
interval: 5s
timeout: 10s
retries: 30
start_period: 10s
lnd-payer:
image: lightninglabs/lnd:v0.18.5-beta
depends_on:
bitcoind:
condition: service_healthy
environment:
LND_ENVIRONMENT: regtest
command:
- lnd
- --noseedbackup
- --norest
- --debuglevel=info
- --bitcoin.active
- --bitcoin.regtest
- --bitcoin.node=bitcoind
- --bitcoind.rpchost=bitcoind:18443
- --bitcoind.rpcuser=polaruser
- --bitcoind.rpcpass=polarpass
- --bitcoind.zmqpubrawblock=tcp://bitcoind:28332
- --bitcoind.zmqpubrawtx=tcp://bitcoind:28333
- --rpclisten=0.0.0.0:10009
- --listen=0.0.0.0:9735
- --tlsextradomain=lnd-payer
- --tlsextraip=0.0.0.0
ports:
- "10010:10009"
volumes:
- "e2e-lnd-payer:/root/.lnd"
healthcheck:
test: ["CMD", "lncli", "--network=regtest", "getinfo"]
interval: 5s
timeout: 10s
retries: 30
start_period: 10s
nostr-relay:
image: dockurr/strfry
ports:
- "7766:7777"
volumes:
- "e2e-nostr-relay:/app/strfry-db"
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:7777"]
interval: 3s
timeout: 5s
retries: 10