umbrel-apps/lnbits/docker-compose.yml
2022-05-01 01:49:07 +02:00

35 lines
998 B
YAML

version: "3.7"
services:
web:
image: lnbitsdocker/lnbits-legend:0.8.0@sha256:3426e326bac347d09b4e018780cb1ecd8e5eac35851383d476076769ab4a9b2e
user: 1000:1000
init: true
restart: on-failure
stop_grace_period: 1m
ports:
- "$APP_LNBITS_PORT:$APP_LNBITS_PORT"
volumes:
- ${APP_DATA_DIR}/data:/data
- ${LND_DATA_DIR}:/lnd:ro
environment:
# Global
LNBITS_HOST: "0.0.0.0"
LNBITS_PORT: "$APP_LNBITS_PORT"
LNBITS_DATA_FOLDER: "/data"
# LND
LNBITS_BACKEND_WALLET_CLASS: LndRestWallet
LND_REST_ENDPOINT: https://$LND_IP:$LND_REST_PORT/
LND_REST_CERT: "/lnd/tls.cert"
LND_REST_MACAROON: "/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon"
# App
LNBITS_SITE_TITLE: "LNbits - Umbrel"
LNBITS_DEFAULT_WALLET_NAME: "LNbits wallet"
LNBITS_DISABLED_EXTENSIONS: "amilk"
LNBITS_ADMIN_EXTENSIONS: "ngrok"
networks:
default:
ipv4_address: $APP_LNBITS_IP