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:
|
2024-10-02 11:23:29 +00:00
|
|
|
image: ghcr.io/cryptosharks131/lndg:v1.9.0@sha256:ef3d458c2d5daa99491390f0a18e5e9fc1114e82f74b0bb432c3b3d907e0dee7
|
2022-04-20 20:32:07 +00:00
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
2022-08-29 15:40:25 +00:00
|
|
|
init: true
|
2022-04-20 20:32:07 +00:00
|
|
|
volumes:
|
2022-05-27 10:14:11 +00:00
|
|
|
- ${APP_LIGHTNING_NODE_DATA_DIR}:/root/.lnd:ro
|
2024-10-02 11:23:29 +00:00
|
|
|
- ${APP_DATA_DIR}/data/db:/app/data
|
|
|
|
- ${APP_DATA_DIR}/data/logs/lndg-controller.log:/var/log/lndg-controller.log
|
2022-04-20 20:32:07 +00:00
|
|
|
command:
|
|
|
|
- sh
|
|
|
|
- -c
|
2024-10-02 11:23:29 +00:00
|
|
|
- python initialize.py -net '${APP_BITCOIN_NETWORK}' -rpc '${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT}' -pw '${APP_PASSWORD}' -wn && python controller.py runserver 0.0.0.0:${APP_LNDG_PORT} > /var/log/lndg-controller.log 2>&1
|
2022-04-20 20:32:07 +00:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: ${APP_LNDG_IP}
|