mirror of
https://github.com/RoboSats/robosats-deploy.git
synced 2025-08-07 10:30:07 +00:00
@ -45,6 +45,22 @@ services:
|
||||
volumes:
|
||||
- ${LND_DATA:?}:/lnd/:ro
|
||||
- ${LIT_DATA:?}:/root/
|
||||
|
||||
lndg:
|
||||
build: ./lndg
|
||||
restart: always
|
||||
container_name: lndg${SUFFIX}
|
||||
volumes:
|
||||
- ${LNDG_CONF}:/root/.lnd:ro
|
||||
- ${LNDG_DATA}:/lndg/data:rw
|
||||
depends_on:
|
||||
- tor
|
||||
- lnd
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- python initialize.py -net 'mainnet' -server '127.0.0.1:10009' -d && supervisord && python manage.py runserver 0.0.0.0:8889
|
||||
network_mode: service:tor
|
||||
|
||||
# Patch common services
|
||||
# tor:
|
||||
|
@ -62,8 +62,8 @@ THUB_ACCOUNTS='./env/lndtn/thunderhub-accounts.yml'
|
||||
# THUB_ACCOUNTS_CONFIG_PATH must match thub...env
|
||||
THUB_ACCOUNTS_CONFIG_PATH='/config/accounts.yml'
|
||||
|
||||
|
||||
|
||||
LNDG_CONF='/custom_path/testnet/lndg/config'
|
||||
LNDG_DATA='/custom_path/testnet/lndg/data'
|
||||
|
||||
LIT_LOCAL_PORT=4001
|
||||
LIT_PASSWORD=999999999
|
||||
|
@ -28,3 +28,7 @@ HiddenServicePort 80 127.0.0.1:3000
|
||||
HiddenServiceDir /var/lib/tor/robotest-lit/
|
||||
HiddenServiceVersion 3
|
||||
HiddenServicePort 8443 127.0.0.1:8443
|
||||
|
||||
HiddenServiceDir /var/lib/tor/robotest-lndg/
|
||||
HiddenServiceVersion 3
|
||||
HiddenServicePort 80 127.0.0.1:8889
|
||||
|
9
compose/lndg/Dockerfile
Normal file
9
compose/lndg/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM ubuntu:jammy
|
||||
ENV TZ=Europe/London
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
RUN apk add git g++ linux-headers && git clone https://github.com/cryptosharks131/lndg /app
|
||||
WORKDIR /app
|
||||
RUN git checkout "master"
|
||||
RUN pip install -r requirements.txt
|
||||
RUN pip install supervisor whitenoise
|
Reference in New Issue
Block a user