umbrel-apps/lightning-terminal/docker-compose.yml
Luke Childs 576ecd2bef Add Bitcoin, Lightning, Electrs, ElectrumX and Fulcrum apps
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
2022-05-27 17:14:11 +07:00

31 lines
1.0 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: $APP_LIGHTNING_TERMINAL_IP
APP_PORT: $APP_LIGHTNING_TERMINAL_PORT
web:
image: lightninglabs/lightning-terminal:v0.6.5-alpha@sha256:541fb9034a25dd4336becabdee6d40f76c3f4ae4557cbce30a46a3a8e3ef0e74
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
volumes:
- ${APP_DATA_DIR}/data:/data
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
environment:
HOME: "/data"
APP_PASSWORD: "$APP_PASSWORD"
command:
- --uipassword_env=APP_PASSWORD
- --insecure-httplisten=0.0.0.0:$APP_LIGHTNING_TERMINAL_PORT
- --network="$APP_BITCOIN_NETWORK"
- --lnd-mode="remote"
- --remote.lnd.rpcserver=$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_GRPC_PORT
- --remote.lnd.macaroonpath="/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon"
- --remote.lnd.tlscertpath="/lnd/tls.cert"
networks:
default:
ipv4_address: $APP_LIGHTNING_TERMINAL_IP