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

58 lines
1.9 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: $APP_RIDE_THE_LIGHTNING_IP
APP_PORT: $APP_RIDE_THE_LIGHTNING_PORT
2022-04-20 20:32:07 +00:00
web:
image: shahanafarooqui/rtl:0.12.1@sha256:8589a880f6357e5ea5cc3826e1704f4e91de324067f34388586faa0395204725
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: $APP_RIDE_THE_LIGHTNING_PORT
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"
2022-04-20 20:32:07 +00:00
CONFIG_PATH: "/lnd/lnd.conf"
# Boltz
BOLTZ_SERVER_URL: "https://$APP_RIDE_THE_LIGHTNING_BOLTZ_IP:9003"
BOLTZ_MACAROON_PATH: "/boltz/.boltz-lnd/macaroons"
networks:
default:
ipv4_address: $APP_RIDE_THE_LIGHTNING_IP
boltz:
image: boltz/boltz-lnd:1.2.6@sha256:01a56dd357a2460bfd0ecdd726d6db3ab59d78ee691250831d09ba5de3fec7ce
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:
- --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="$APP_RIDE_THE_LIGHTNING_BOLTZ_IP"
- --rpc.rest.port="9003"
networks:
default:
ipv4_address: $APP_RIDE_THE_LIGHTNING_BOLTZ_IP