File tree Expand file tree Collapse file tree 4 files changed +28
-2
lines changed
Expand file tree Collapse file tree 4 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ services:
5151 restart : always
5252 container_name : lndg${SUFFIX}
5353 volumes :
54+ - ${LND_CONFIG}:/root/supervisord.conf:ro
5455 - ${LND_DATA}:/root/.lnd:ro
5556 - ${LNDG_DATA}:/lndg/data:rw
5657 depends_on :
@@ -59,7 +60,7 @@ services:
5960 command :
6061 - sh
6162 - -c
62- - python initialize.py -net ${NETWORK} -dir /root/.lnd -rpc 127.0.0.1:${GUEST_LND_RPC_PORT:?} -u ${LNDG_USER:?} -pw ${LNDG_PASSWORD:?} -d && supervisord && python manage.py runserver 0.0.0.0:8889
63+ - python initialize.py -net ${NETWORK} -dir /root/.lnd -rpc 127.0.0.1:${GUEST_LND_RPC_PORT:?} -u ${LNDG_USER:?} -pw ${LNDG_PASSWORD:?} -d && supervisord -c /root/supervisord.conf && python manage.py runserver 0.0.0.0:8889
6364 network_mode : service:tor
6465
6566# Patch common services
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ THUB_ACCOUNTS='./env/lndtn/thunderhub-accounts.yml'
6262# THUB_ACCOUNTS_CONFIG_PATH must match thub...env
6363THUB_ACCOUNTS_CONFIG_PATH = ' /config/accounts.yml'
6464
65+ LNDG_CONFIG = ' /custom_path/testnet/lndg/config'
6566LNDG_DATA = ' /custom_path/testnet/lndg/data'
6667LNDG_USER = ' lndg-admin'
6768LNDG_PASSWORD = 999999999
Original file line number Diff line number Diff line change 1+ [supervisord]
2+ user=root
3+ childlogdir = /var/log
4+ logfile = /var/log/supervisord.log
5+ logfile_maxbytes = 50MB
6+ logfile_backups = 30
7+ loglevel = info
8+ pidfile = /var/supervisord.pid
9+ umask = 022
10+ nodaemon = false
11+ nocleanup = false
12+
13+ [rpcinterface:supervisor]
14+ supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
15+
16+ [program:controller]
17+ command = sh -c "python controller.py && sleep 15"
18+ process_name = lndg-controller
19+ directory = /app
20+ autorestart = true
21+ redirect_stderr = true
22+ stdout_logfile = /var/log/lndg-controller.log
23+ stdout_logfile_maxbytes = 150MB
24+ stdout_logfile_backups = 15
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ HiddenServiceVersion 3
1717HiddenServicePort 80 127.0.0.1 :80
1818
1919# Robosats Admin Testnet Onion Service
20- HiddenServiceDir /var/lib/tor/satstralia -admin/
20+ HiddenServiceDir /var/lib/tor/robotest -admin/
2121HiddenServiceVersion 3
2222HiddenServicePort 80 127.0.0.1 :80
2323
You can’t perform that action at this time.
0 commit comments