umbrel-apps/sphinx-relay/docker-compose.yml

29 lines
922 B
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
2022-05-16 13:30:51 +00:00
app_proxy:
environment:
APP_HOST: $APP_SPHINX_RELAY_IP
APP_PORT: $APP_SPHINX_RELAY_PORT
2022-04-20 20:32:07 +00:00
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
2022-04-20 20:32:07 +00:00
- ${APP_DATA_DIR}/data:/relay/.lnd/
environment:
PUBLIC_URL: "$APP_HIDDEN_SERVICE:$APP_SPHINX_RELAY_PORT"
LND_IP: $APP_LIGHTNING_NODE_IP
2022-04-20 20:32:07 +00:00
CONNECT_UI: "true"
LND_PORT: $APP_LIGHTNING_NODE_GRPC_PORT
2022-04-20 20:32:07 +00:00
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
2022-04-20 20:32:07 +00:00
networks:
default:
ipv4_address: $APP_SPHINX_RELAY_IP