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_LIGHTNING_TERMINAL_IP
|
|
|
|
APP_PORT: $APP_LIGHTNING_TERMINAL_PORT
|
|
|
|
|
2022-04-20 20:32:07 +00:00
|
|
|
web:
|
2022-06-29 08:44:33 +00:00
|
|
|
image: lightninglabs/lightning-terminal:v0.7.0-alpha@sha256:7b8ac4774d6a604c1f325975885e47d8f476c2b9235db97fb6927314ab723851
|
2022-04-20 20:32:07 +00:00
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data:/data
|
2022-05-27 10:14:11 +00:00
|
|
|
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
|
2022-04-20 20:32:07 +00:00
|
|
|
environment:
|
|
|
|
HOME: "/data"
|
|
|
|
APP_PASSWORD: "$APP_PASSWORD"
|
|
|
|
command:
|
|
|
|
- --uipassword_env=APP_PASSWORD
|
|
|
|
- --insecure-httplisten=0.0.0.0:$APP_LIGHTNING_TERMINAL_PORT
|
2022-05-27 10:14:11 +00:00
|
|
|
- --network="$APP_BITCOIN_NETWORK"
|
2022-04-20 20:32:07 +00:00
|
|
|
- --lnd-mode="remote"
|
2022-05-27 10:14:11 +00:00
|
|
|
- --remote.lnd.rpcserver=$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_GRPC_PORT
|
|
|
|
- --remote.lnd.macaroonpath="/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon"
|
2022-04-20 20:32:07 +00:00
|
|
|
- --remote.lnd.tlscertpath="/lnd/tls.cert"
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $APP_LIGHTNING_TERMINAL_IP
|