mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-13 12:33:15 +02:00
umbrel/docker-compose.yml: - app_proxy service for Umbrel authentication - Web service with ttyd on port 6969 - Volume mounts: persistent config + read-only LND data - All Bitcoin RPC and LND env vars from Umbrel's injection - Auto-mode set to A (Bitcoin + Lightning) umbrel/umbrel-app.yml: - App manifest with full description and feature list - Category: bitcoin - Dependencies: bitcoin, lightning - Port: 6969 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
940 B
YAML
32 lines
940 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: pyblock_web_1
|
|
APP_PORT: 6969
|
|
|
|
web:
|
|
image: curly60e/pyblock:v4.0.0
|
|
restart: on-failure
|
|
stop_grace_period: 1m
|
|
user: "1000:1000"
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/config:/app/pyblock/pybitblock/config
|
|
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
|
|
environment:
|
|
# Bitcoin Core RPC (injected by Umbrel)
|
|
BITCOIN_RPC_HOST: ${APP_BITCOIN_NODE_IP}
|
|
BITCOIN_RPC_PORT: ${APP_BITCOIN_RPC_PORT}
|
|
BITCOIN_RPC_USER: ${APP_BITCOIN_RPC_USER}
|
|
BITCOIN_RPC_PASS: ${APP_BITCOIN_RPC_PASS}
|
|
|
|
# LND (injected by Umbrel)
|
|
LND_HOST: ${APP_LIGHTNING_NODE_IP}
|
|
LND_GRPC_PORT: ${APP_LIGHTNING_NODE_GRPC_PORT}
|
|
LND_TLS_CERT_PATH: /lnd/tls.cert
|
|
LND_MACAROON_PATH: /lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/readonly.macaroon
|
|
|
|
# PyBLOCK auto-config
|
|
PYBLOCK_MODE: "A"
|
|
PYBLOCK_PORT: "6969"
|