40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
version: "3"
|
|
services:
|
|
btcpayserver:
|
|
environment:
|
|
BTCPAY_EXTERNALSERVICES: "Sphinx Relay:${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/sphinxrelay/app;"
|
|
volumes:
|
|
- "sphinxrelay_datadir:/etc/sphinxrelay_datadir"
|
|
lnd_bitcoin:
|
|
expose:
|
|
- "10009"
|
|
sphinxrelay:
|
|
image: "sphinxlightning/sphinx-relay:v2.1.3@sha256:14b92d2376f12a0c9a1f8156b008795b1785983e9433b623c7cb8079f8c20b7f"
|
|
user: "0:0"
|
|
restart: unless-stopped
|
|
expose:
|
|
- "3300"
|
|
volumes:
|
|
- "sphinxrelay_datadir:/relay/.lnd"
|
|
- "lnd_bitcoin_datadir:/relay/lnd:ro"
|
|
environment:
|
|
NODE_ENV: production
|
|
NODE_IP: ${BTCPAY_HOST}/sphinxrelay
|
|
NODE_ALIAS: ${LIGHTNING_ALIAS}
|
|
LND_IP: lnd_bitcoin
|
|
LND_PORT: 10009
|
|
PORT: 3300
|
|
MACAROON_LOCATION: /relay/lnd/admin.macaroon
|
|
ROUTER_MACAROON_LOCATION: /relay/lnd/data/chain/bitcoin/mainnet/router.macaroon
|
|
SIGNER_MACAROON_LOCATION: /relay/lnd/data/chain/bitcoin/mainnet/signer.macaroon
|
|
TLS_LOCATION: /relay/lnd/tls.cert
|
|
LND_LOG_LOCATION: /relay/lnd/logs/bitcoin/mainnet/lnd.log
|
|
PUBLIC_URL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/sphinxrelay/
|
|
links:
|
|
- lnd_bitcoin
|
|
volumes:
|
|
sphinxrelay_datadir:
|
|
required:
|
|
- "bitcoin-lnd"
|
|
- "opt-lnd-keysend"
|