-
Notifications
You must be signed in to change notification settings - Fork 364
/
opt-add-torq.yml
46 lines (44 loc) · 1.03 KB
/
opt-add-torq.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
version: "3.7"
services:
torq:
user: "root:root"
image: "lncapital/torq:0.20.3"
restart: unless-stopped
depends_on:
- "torq_db"
command:
- --db.host
- torq_db
- --db.password
- torq_db_password
- --lnd.url
- lnd_bitcoin:10009
- --lnd.macaroon-path
- /lnd/admin.macaroon
- --lnd.tls-path
- /lnd/tls.cert
- --torq.cookie-path
- /data/.cookie
- start
volumes:
- "lnd_bitcoin_datadir:/lnd:ro"
- "lnd_bitcoin_torq_datadir:/data"
links:
- lnd_bitcoin
torq_db:
image: "timescale/timescaledb:latest-pg14"
environment:
POSTGRES_PASSWORD: torq_db_password
volumes:
- torq_datadir:/var/lib/postgresql/data
btcpayserver:
environment:
BTCPAY_BTCEXTERNALTORQ: "server=/torq/cookie-login;cookiefile=/etc/lnd_bitcoin_torq/.cookie"
volumes:
- "lnd_bitcoin_torq_datadir:/etc/lnd_bitcoin_torq"
volumes:
torq_datadir:
lnd_bitcoin_torq_datadir:
required:
- "bitcoin-lnd"
- "opt-lnd-grpc"