umbrel-apps/lnbits/docker-compose.yml
2024-10-07 20:48:38 +10:00

36 lines
1021 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: lnbits_web_1
APP_PORT: 3007
PROXY_AUTH_ADD: "false"
web:
image: lnbits/lnbits:v0.12.11@sha256:1728dd2d16857365f134fe07f9f9a0274f8d54a722b1374bbf7a399551b5e38b
init: true
restart: on-failure
stop_grace_period: 1m
volumes:
- ${APP_DATA_DIR}/data:/data
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
environment:
# Global
LNBITS_HOST: "0.0.0.0"
LNBITS_PORT: 3007
LNBITS_DATA_FOLDER: "/data"
# LND
LNBITS_BACKEND_WALLET_CLASS: LndRestWallet
LND_REST_ENDPOINT: https://$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_REST_PORT/
LND_REST_CERT: "/lnd/tls.cert"
LND_REST_MACAROON: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon"
# App
LNBITS_SITE_TITLE: "LNbits - Umbrel"
LNBITS_DEFAULT_WALLET_NAME: "LNbits wallet"
LNBITS_DISABLED_EXTENSIONS: "amilk"
LNBITS_ADMIN_EXTENSIONS: "ngrok"
LNBITS_ADMIN_UI: "true"