umbrel-apps/lndg/docker-compose.yml
2022-05-16 15:30:51 +02:00

23 lines
667 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.0.5@sha256:cebb3cb42ebc26e7d148792e9f191dea78016cd514940a19143d3e51b5e023d2
restart: on-failure
stop_grace_period: 1m
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}