Add Sphinx Relay opt fragment (#458)
* Add Sphinx Relay opt fragment * Integrate keysend via existing opt * Mount lnd datadir readonly * Update Sphinx Relay and env vars * Add Sphinx Relay docs * Update Sphinx Relay
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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.0.13
|
||||
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"
|
||||
Reference in New Issue
Block a user