mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-09-23 09:20:04 +00:00
20 lines
631 B
YAML
20 lines
631 B
YAML
|
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}
|