Closed reliveyy closed 3 years ago
The SERVICES
environment variable means everytime when other services changed (mode or disbaled) the proxy contianer will be recreated. And it's not acceptable (not independent). So I will replace SERVICES
with $network_dir/data/config.json
.
More about this services.json
file inside data dir:
config.sh
(So the config.sh
idea is generally deprecated. We designed it because it's esay to export and import in bash script)config.json
like disabled which we cannot tell from a stopped or missing container; and the mode which is needed in status API to print bitcoind/litecoind/geth as light mode not "Disabled" status.Switch mainnet proxy version to 1.2.0 (independent proxy + create/unlock apis)
version will be bumped in next PR, for now i will change the proxy version to current mainnet version (without create/unlock apis).
This PR removes the waiting logic for tls.cert of lndbtc, lndltc and xud in proxy
entrypoint.sh
. And it runs proxy branch "proxy-first" too. It is a necessary step before we providing a native launcher because we could present thestatus
API first to let the frontend know when to callcreate
(after lnds got synced).How to test?
It should not break anything. And there is no obvious new features introduced. A simple test would be just bring up proxy only and
Todos
Add newSERVICES
environment variable/root/config.sh
withconfig.json
/root/.xud
,/root/.lndbtc
and/root/.lndltc
with/root/network/data/...
Reminders before merge