mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-13 17:09:17 +00:00
24 lines
731 B
YAML
24 lines
731 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.7.0@sha256:30bb34fd735d6046fcaf7375ac32ad10b998b34798cb7d4d762c038284b5fc98
|
|
restart: on-failure
|
|
stop_grace_period: 1m
|
|
init: true
|
|
volumes:
|
|
- ${APP_LIGHTNING_NODE_DATA_DIR}:/root/.lnd:ro
|
|
- ${APP_DATA_DIR}:/lndg/data
|
|
command:
|
|
- sh
|
|
- -c
|
|
- python initialize.py -net '${APP_BITCOIN_NETWORK}' -server '${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT}' -pw '${APP_PASSWORD}' -d && supervisord && python manage.py runserver 0.0.0.0:${APP_LNDG_PORT}
|
|
networks:
|
|
default:
|
|
ipv4_address: ${APP_LNDG_IP}
|