mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-15 09:59:20 +00:00
81 lines
2.6 KiB
YAML
81 lines
2.6 KiB
YAML
|
version: "3.7"
|
||
|
|
||
|
services:
|
||
|
web:
|
||
|
image: shahanafarooqui/rtl:0.12.1@sha256:8589a880f6357e5ea5cc3826e1704f4e91de324067f34388586faa0395204725
|
||
|
user: "1000:1000"
|
||
|
restart: on-failure
|
||
|
stop_grace_period: 1m
|
||
|
ports:
|
||
|
- "$APP_RIDE_THE_LIGHTNING_PORT:$APP_RIDE_THE_LIGHTNING_PORT"
|
||
|
volumes:
|
||
|
- ${APP_DATA_DIR}/rtl:/data
|
||
|
- ${APP_DATA_DIR}/loop:/loop
|
||
|
- ${APP_DATA_DIR}/boltz:/boltz:ro
|
||
|
- ${LND_DATA_DIR}:/lnd:ro
|
||
|
- ${BITCOIN_DATA_DIR}:/bitcoin:ro
|
||
|
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://$LND_IP:$LND_REST_PORT"
|
||
|
MACAROON_PATH: "/lnd/data/chain/bitcoin/$BITCOIN_NETWORK"
|
||
|
CONFIG_PATH: "/lnd/lnd.conf"
|
||
|
|
||
|
# Loop
|
||
|
SWAP_SERVER_URL: "https://$APP_RIDE_THE_LIGHTNING_LOOP_IP:8081"
|
||
|
SWAP_MACAROON_PATH: "/loop/.loop/$BITCOIN_NETWORK"
|
||
|
|
||
|
# 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
|
||
|
|
||
|
loop:
|
||
|
image: louneskmt/loop:v0.12.1-beta@sha256:f57abd0cbccfaa741d6f0eb301421be1649e7dd42c1fc804a7759d7521866436
|
||
|
user: "1000:1000"
|
||
|
restart: on-failure
|
||
|
stop_grace_period: 1m
|
||
|
volumes:
|
||
|
- ${APP_DATA_DIR}/loop:/data
|
||
|
- ${LND_DATA_DIR}:/lnd:ro
|
||
|
environment:
|
||
|
HOME: "/data"
|
||
|
command:
|
||
|
- --network=$BITCOIN_NETWORK
|
||
|
- --lnd.host="$LND_IP:$LND_GRPC_PORT"
|
||
|
- --lnd.macaroonpath="/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon"
|
||
|
- --lnd.tlspath="/lnd/tls.cert"
|
||
|
- --restlisten=0.0.0.0:8081
|
||
|
networks:
|
||
|
default:
|
||
|
ipv4_address: $APP_RIDE_THE_LIGHTNING_LOOP_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"
|
||
|
- "${LND_DATA_DIR}:/lnd:ro"
|
||
|
command:
|
||
|
- --lnd.host="$LND_IP"
|
||
|
- --lnd.macaroon="/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon"
|
||
|
- --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
|