citadel-apps/apps/lnbits/app.yml
2022-07-24 23:54:43 +02:00

71 lines
2.2 KiB
YAML

# SPDX-FileCopyrightText: 2021 Citadel and contributors
#
# SPDX-License-Identifier: AGPL-3.0-only
# yaml-language-server: $schema=../../app-standard-v3.yml
version: 3
metadata:
category: Lightning Node Management
name: LNbits
version: baf55af
tagline: Multi-user wallet management system
description: Description coming soon.
developers:
LNbits: https://github.com/lnbits/lnbits
dependencies:
- - lnd
- c-lightning
repo: https://github.com/lnbits/lnbits
support: https://t.me/lnbits
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
defaultPassword: $APP_SEED
containers:
- image: ghcr.io/runcitadel/lnbits-legends:feat-admin-password@sha256:ceb068a58eb0877235b43e0047a294634964b4057abda0ca8b9255310d914a27
command: sh -c 'uvicorn lnbits.__main__:app --port 5000 --proxy-headers --host
0.0.0.0 --forwarded-allow-ips "*"'
user: 1000:1000
init: true
port: 5000
environment:
LNBITS_DATA_FOLDER: /data
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
LNBITS_SITE_TITLE: LNbits on Citadel
LNBITS_DEFAULT_WALLET_NAME: LNbits wallet
LNBITS_DISABLED_EXTENSIONS: amilk
LNBITS_ADMIN_LOGIN_KEY: $APP_SEED
LNBITS_ADMIN_EXTENSIONS: ngrok
name: main-lnd
data:
- data:/data
restart: on-failure
requires:
- lnd
- image: ghcr.io/runcitadel/lnbits-legends:feat-admin-password@sha256:ceb068a58eb0877235b43e0047a294634964b4057abda0ca8b9255310d914a27
command: sh -c 'uvicorn lnbits.__main__:app --port 5000 --proxy-headers --host
0.0.0.0 --forwarded-allow-ips "*"'
user: 1000:1000
init: true
port: 5000
environment:
LNBITS_DATA_FOLDER: /data
LNBITS_BACKEND_WALLET_CLASS: CLightningWallet
CLIGHTNING_RPC: /c-lightning/bitcoin/lightning-rpc
LNBITS_SITE_TITLE: LNbits (c-lightning)
LNBITS_DEFAULT_WALLET_NAME: LNbits wallet
LNBITS_DISABLED_EXTENSIONS: amilk
LNBITS_ADMIN_LOGIN_KEY: $APP_SEED
LNBITS_ADMIN_EXTENSIONS: ngrok
name: main-c-lightning
data:
- data:/data
requires:
- c-lightning
restart: on-failure