mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-12 00:19:17 +00:00
53 lines
1.9 KiB
YAML
53 lines
1.9 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: $APP_LIGHTNING_IP
|
|
APP_PORT: 3006
|
|
|
|
app:
|
|
image: getumbrel/umbrel-lightning:v1.0.3@sha256:e20a0fc2113ffd2b0afce00aee0346ba2af961e793b8784fe712ed05f7c9522c
|
|
restart: on-failure
|
|
volumes:
|
|
- "${APP_LIGHTNING_NODE_DATA_DIR}:/data/.lnd"
|
|
- "${APP_DATA_DIR}/data/lightning:/data"
|
|
- "${UMBREL_ROOT}/statuses:/statuses"
|
|
environment:
|
|
PORT: "3006"
|
|
TOR_PROXY_IP: "${TOR_PROXY_IP}"
|
|
TOR_PROXY_PORT: "${TOR_PROXY_PORT}"
|
|
BITCOIN_HOST: "${APP_BITCOIN_NODE_IP}"
|
|
RPC_PORT: "${APP_BITCOIN_RPC_PORT}"
|
|
RPC_USER: "${APP_BITCOIN_RPC_USER}"
|
|
RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}"
|
|
LND_NETWORK: "${APP_BITCOIN_NETWORK}"
|
|
LND_HOST: "${APP_LIGHTNING_NODE_IP}"
|
|
LND_REST_HIDDEN_SERVICE: "${APP_LIGHTNING_REST_HIDDEN_SERVICE}"
|
|
LND_GRPC_HIDDEN_SERVICE: "${APP_LIGHTNING_GRPC_HIDDEN_SERVICE}"
|
|
TLS_FILE: "/data/.lnd/tls.cert"
|
|
MACAROON_DIR: "/data/.lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/"
|
|
CHANNEL_BACKUP_FILE: "/data/.lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/channel.backup"
|
|
BACKUP_STATUS_FILE: "/statuses/backup-status.json"
|
|
JSON_STORE_FILE: "/data/state.json"
|
|
DEVICE_DOMAIN_NAME: "${DEVICE_DOMAIN_NAME}"
|
|
networks:
|
|
default:
|
|
ipv4_address: $APP_LIGHTNING_IP
|
|
|
|
lnd:
|
|
image: lightninglabs/lnd:v0.14.2-beta@sha256:8318a24a3ad7319e424253eb56efcbf38e820ebc6d6b6edeec6a8a4e3e9314a0
|
|
command: "${APP_LIGHTNING_COMMAND}"
|
|
user: 1000:1000
|
|
restart: on-failure
|
|
ports:
|
|
- "$APP_LIGHTNING_NODE_PORT:$APP_LIGHTNING_NODE_PORT"
|
|
- "$APP_LIGHTNING_NODE_REST_PORT:$APP_LIGHTNING_NODE_REST_PORT"
|
|
- "$APP_LIGHTNING_NODE_GRPC_PORT:$APP_LIGHTNING_NODE_GRPC_PORT"
|
|
volumes:
|
|
- "${APP_LIGHTNING_NODE_DATA_DIR}:/data/.lnd"
|
|
environment:
|
|
HOME: /data
|
|
networks:
|
|
default:
|
|
ipv4_address: $APP_LIGHTNING_NODE_IP |