umbrel-apps/ride-the-lightning/docker-compose.yml
michael1011 86392387d9
Update boltz-lnd in RTL to v1.2.7 (#490)
Co-authored-by: Nathan Fretz <nmfretz@gmail.com>
2023-04-12 09:08:01 -07:00

53 lines
1.6 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: ride-the-lightning_web_1
APP_PORT: 3001
web:
image: shahanafarooqui/rtl:0.13.2@sha256:07d4c1f263c05c32270dcaab3625fc68ef985efce652e7850fbf57f65d36366f
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
entrypoint: /data/entrypoint.sh
environment:
# App config
APP_PASSWORD: $APP_PASSWORD
PORT: 3001
RTL_CONFIG_PATH: "/data"
CHANNEL_BACKUP_PATH: "/data/backup"
LN_IMPLEMENTATION: "LND"
# 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/lnd.conf"
# Boltz
BOLTZ_SERVER_URL: "https://ride-the-lightning_boltz_1:9003"
BOLTZ_MACAROON_PATH: "/boltz/.boltz-lnd/macaroons"
boltz:
image: boltz/boltz-lnd:1.2.7@sha256:39e875b059a934d4c41e829d53c6e181ed83dc2560aed9e4cc2f94cceaf4ecde
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"
command:
- --lnd.host="$APP_LIGHTNING_NODE_IP"
- --lnd.macaroon="/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon"
- --lnd.certificate="/lnd/tls.cert"
- --rpc.rest.host="0.0.0.0"
- --rpc.rest.port="9003"