-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.e2e.yaml
More file actions
104 lines (99 loc) · 2.42 KB
/
docker-compose.e2e.yaml
File metadata and controls
104 lines (99 loc) · 2.42 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
volumes:
e2e-db:
e2e-lnd:
e2e-bitcoind:
e2e-nostr-relay:
services:
db:
image: mariadb:latest
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: lnvps
ports:
- "3376: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:
- "6398: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
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