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:
|
|
|
|
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}
|