umbrel-apps/ride-the-lightning/docker-compose.yml

55 lines
1.7 KiB
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
2022-05-16 13:30:51 +00:00
app_proxy:
environment:
APP_HOST: ride-the-lightning_web_1
APP_PORT: 3001
2022-04-20 20:32:07 +00:00
web:
image: shahanafarooqui/rtl:v0.15.2@sha256:e2c40d04821a1a6e9bcb55b4276c428c6c416ab1c33b4efd256366430234ea6a
2022-04-20 20:32:07 +00:00
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
volumes:
- ${APP_DATA_DIR}/rtl:/data
- ${APP_DATA_DIR}/boltz:/boltz:ro
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
- ${APP_BITCOIN_DATA_DIR}:/bitcoin:ro
2022-04-20 20:32:07 +00:00
entrypoint: /data/entrypoint.sh
environment:
# App config
APP_PASSWORD: $APP_PASSWORD
PORT: 3001
2022-04-20 20:32:07 +00:00
RTL_CONFIG_PATH: "/data"
CHANNEL_BACKUP_PATH: "/data/backup"
LN_IMPLEMENTATION: "LND"
BLOCK_EXPLORER_URL: "${APP_RTL_BLOCK_EXPLORER_URL}"
2022-04-20 20:32:07 +00:00
# LND connection details
LN_SERVER_URL: "https://$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_REST_PORT"
MACAROON_PATH: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK"
CONFIG_PATH: "/lnd/umbrel-lnd.conf"
2022-04-20 20:32:07 +00:00
# Boltz
BOLTZ_SERVER_URL: "https://ride-the-lightning_boltz_1:9003"
2022-04-20 20:32:07 +00:00
BOLTZ_MACAROON_PATH: "/boltz/.boltz-lnd/macaroons"
boltz:
2024-03-29 04:36:54 +00:00
image: boltz/boltz-client:2.0.2-compat@sha256:dc7643381306d29a035a5422b5c217eccf0e08678c4b863c0c62e2dcb6bf6ed6
2022-04-20 20:32:07 +00:00
user: "1000:1000"
restart: "on-failure"
stop_grace_period: "1m"
environment:
HOME: "/data"
volumes:
- "${APP_DATA_DIR}/boltz:/data"
- "${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro"
2022-04-20 20:32:07 +00:00
command:
2024-03-29 04:36:54 +00:00
- --datadir=/data/.boltz-lnd
- --lnd.host="$APP_LIGHTNING_NODE_IP"
- --lnd.macaroon="/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon"
2022-04-20 20:32:07 +00:00
- --lnd.certificate="/lnd/tls.cert"
- --rpc.rest.host="0.0.0.0"
2022-04-20 20:32:07 +00:00
- --rpc.rest.port="9003"