umbrel-apps/core-lightning-rtl/docker-compose.yml
2022-06-07 19:31:30 +07:00

25 lines
767 B
YAML

version: "3.8"
services:
app_proxy:
environment:
APP_HOST: $APP_CORE_LIGHTNING_RTL_IP
APP_PORT: 3000
rtl:
image: shahanafarooqui/rtl:0.12.3@sha256:b1327ecfddae5f40c4c985e31c2bc158c4697a274b61bf84acfb27486d05c5bf
restart: on-failure
environment:
PORT: 3000
APP_PASSWORD: $APP_PASSWORD
LN_IMPLEMENTATION: CLT
LN_SERVER_URL: http://${APP_CORE_LIGHTNING_REST_IP}:${APP_CORE_LIGHTNING_REST_PORT}/v1
MACAROON_PATH: /c-lightning-rest/certs
RTL_CONFIG_PATH: /data/
RTL_COOKIE_PATH: /data/.cookie
volumes:
- "${APP_DATA_DIR}/data/rtl:/data"
- "${APP_CORE_LIGHTNING_REST_CERT_DIR}:/c-lightning-rest/certs"
networks:
default:
ipv4_address: ${APP_CORE_LIGHTNING_RTL_IP}