You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
952 B

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: $APP_SPHINX_RELAY_IP
APP_PORT: $APP_SPHINX_RELAY_PORT
PROXY_AUTH_ADD: "false"
sphinx-relay:
container_name: sphinx-relay
image: sphinxlightning/sphinx-relay:v2.2.5@sha256:9c7b112ead4585a92b6d65ebaa6206cf64069813b382b361c6c928c0def8a682
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
networks:
default:
ipv4_address: $APP_SPHINX_RELAY_IP