umbrel-apps/lndg/docker-compose.yml
cryptosharks131 5f81f84e6f
Update LNDg to v1.3.1 (#127)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
2022-08-29 16:40:25 +01:00

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.3.1@sha256:b412bc37b6ed07c3c0335fedf409699ce019a928e69a3f6e7af9ffc8adcfcf99
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}