mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-22 05:51:35 +03:00
Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com> Co-authored-by: nmfretz <nmfretz@gmail.com>
26 lines
847 B
YAML
26 lines
847 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: $APP_LNDG_IP
|
|
APP_PORT: $APP_LNDG_PORT
|
|
|
|
web:
|
|
image: ghcr.io/cryptosharks131/lndg:v1.11.1@sha256:e1589e1d5ec89a4abe59610e808a4c9664dbc84eb66c30d15ffa2dd87232729e
|
|
restart: on-failure
|
|
stop_grace_period: 1m
|
|
init: true
|
|
volumes:
|
|
- ${APP_LIGHTNING_NODE_DATA_DIR}:/root/.lnd:ro
|
|
- ${APP_DATA_DIR}/data/db:/app/data
|
|
environment:
|
|
LNDG_CSRF_TRUSTED_ORIGINS: ${APP_LNDG_CSRF_TRUSTED_ORIGINS}
|
|
command:
|
|
- sh
|
|
- -c
|
|
- python initialize.py -net '${APP_BITCOIN_NETWORK}' -rpc '${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT}' -pw '${APP_PASSWORD}' -csrf "$${LNDG_CSRF_TRUSTED_ORIGINS}" -wn && python controller.py runserver 0.0.0.0:${APP_LNDG_PORT}
|
|
networks:
|
|
default:
|
|
ipv4_address: ${APP_LNDG_IP}
|