umbrel-apps/lndg/docker-compose.yml

20 lines
631 B
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
web:
image: ghcr.io/cryptosharks131/lndg:v1.0.5@sha256:cebb3cb42ebc26e7d148792e9f191dea78016cd514940a19143d3e51b5e023d2
restart: on-failure
stop_grace_period: 1m
ports:
- "${APP_LNDG_PORT}:${APP_LNDG_PORT}"
volumes:
- ${LND_DATA_DIR}:/root/.lnd:ro
- ${APP_DATA_DIR}:/lndg/data
command:
- sh
- -c
- python initialize.py -net '${BITCOIN_NETWORK}' -server '${LND_IP}:${LND_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}