umbrel-apps/circuitbreaker/docker-compose.yml
2023-12-20 13:01:17 -08:00

19 lines
678 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: circuitbreaker_web_1
APP_PORT: 9235
web:
image: ghcr.io/lightningequipment/circuitbreaker:v0.5.1@sha256:1c73f4785dad73e279cfb06ec12b004df61f5905446cec06079ace5618490a1d
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
init: true
volumes:
- ${APP_LIGHTNING_NODE_DATA_DIR}:/data/.lnd:ro
- ${APP_DATA_DIR}/data:/data/.circuitbreaker
command: [ "--configdir=/data/.circuitbreaker", "--network=${APP_BITCOIN_NETWORK}", "--lnddir=/data/.lnd", "--rpcserver=${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT}", "--httplisten=0.0.0.0:9235" ]