umbrel-apps/sphinx-relay/docker-compose.yml
Steven Briscoe 11f36560e8
Remove hard-coded container IPs (#310)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
2022-12-04 20:18:22 +00:00

26 lines
843 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: sphinx-relay_server_1
APP_PORT: $APP_SPHINX_RELAY_PORT
PROXY_AUTH_ADD: "false"
server:
image: sphinxlightning/sphinx-relay:v2.2.12@sha256:96778f56fc3b2c7703ec6d0d3162a9fe4c82b0d57179819c90efc479cdc1620a
init: true
restart: on-failure
stop_grace_period: 1m
volumes:
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
- ${APP_DATA_DIR}/data:/relay/.lnd/
environment:
PUBLIC_URL: "$APP_HIDDEN_SERVICE:$APP_SPHINX_RELAY_PORT"
LND_IP: $APP_LIGHTNING_NODE_IP
CONNECT_UI: "true"
LND_PORT: $APP_LIGHTNING_NODE_GRPC_PORT
TLS_LOCATION: /lnd/tls.cert
MACAROON_LOCATION: /lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/admin.macaroon
LND_LOG_LOCATION: /lnd/logs/bitcoin/${APP_BITCOIN_NETWORK}/lnd.log