umbrel-apps/lndg/docker-compose.yml

23 lines
716 B
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
2022-05-16 13:30:51 +00:00
app_proxy:
environment:
APP_HOST: $APP_LNDG_IP
APP_PORT: $APP_LNDG_PORT
2022-04-20 20:32:07 +00:00
web:
2022-07-12 08:08:18 +00:00
image: ghcr.io/cryptosharks131/lndg:v1.2.1@sha256:4c06dcf97b0b80324d775acdb6272a12559fbb318fe7b0fb4549e29dd0b2a7a5
2022-04-20 20:32:07 +00:00
restart: on-failure
stop_grace_period: 1m
volumes:
- ${APP_LIGHTNING_NODE_DATA_DIR}:/root/.lnd:ro
2022-04-20 20:32:07 +00:00
- ${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}
2022-04-20 20:32:07 +00:00
networks:
default:
ipv4_address: ${APP_LNDG_IP}