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:
|
|
|
|
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
|
|
|
|
- ${LND_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="$BITCOIN_NETWORK"
|
|
|
|
- --lnd-mode="remote"
|
|
|
|
- --remote.lnd.rpcserver=$LND_IP:$LND_GRPC_PORT
|
|
|
|
- --remote.lnd.macaroonpath="/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon"
|
|
|
|
- --remote.lnd.tlscertpath="/lnd/tls.cert"
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $APP_LIGHTNING_TERMINAL_IP
|