mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 04:50:42 +02:00
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
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"
|