-
Notifications
You must be signed in to change notification settings - Fork 368
/
opt-add-thunderhub.yml
36 lines (36 loc) · 1.17 KB
/
opt-add-thunderhub.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
version: "3"
services:
btcpayserver:
environment:
BTCPAY_BTCEXTERNALTHUNDERHUB: "server=/thub/sso;cookiefile=/etc/lnd_bitcoin_thub_datadir/.cookie"
volumes:
- "lnd_bitcoin_thub_datadir:/etc/lnd_bitcoin_thub_datadir"
bitcoin_thub:
image: apotdevin/thunderhub:base-v0.13.31@sha256:68ac29f936351cf6693cda2f682c4e9f5b696a8475b4b8e92f37945be5416953
container_name: generated_bitcoin_thub_1
restart: unless-stopped
stop_signal: SIGKILL
environment:
NO_VERSION_CHECK: "true"
COOKIE_PATH: "/data/.cookie"
ACCOUNT_CONFIG_PATH: "/data/thubConfig.yaml"
SSO_SERVER_URL: "lnd_bitcoin:10009"
SSO_MACAROON_PATH: "/etc/lnd"
SSO_CERT_PATH: "/etc/lnd/tls.cert"
NO_CLIENT_ACCOUNTS: "true"
LOG_LEVEL: debug
LOGOUT_URL: "/server/services/thunderhub/BTC"
labels:
traefik.enable: "true"
traefik.http.routers.bitcoin_thub.rule: Host(`${BTCPAY_HOST}`) && (Path(`/thub`) || PathPrefix(`/thub/`))
volumes:
- "lnd_bitcoin_datadir:/etc/lnd"
- "lnd_bitcoin_thub_datadir:/data"
expose:
- "3000"
links:
- lnd_bitcoin
volumes:
lnd_bitcoin_thub_datadir:
required:
- "bitcoin-lnd"