Add support regtest #2

Merged
tiger5226 merged 1 commit from regtest_support into master 2020-03-08 16:53:29 +01:00
3 changed files with 29 additions and 1 deletions

View file

@ -8,6 +8,7 @@ WORKDIR /daemon
COPY lbrynet ./
COPY conf/daemon_settings.yml ./
COPY conf/test_daemon_settings.yml ./
COPY conf/regtest_daemon_settings.yml ./
COPY launcher.sh ./launcher.sh
RUN chmod a+x launcher.sh

View file

@ -0,0 +1,24 @@
api: 0.0.0.0:5279
streaming_server: 0.0.0.0:5280
blockchain_name: lbrycrd_regtest
components_to_skip:
- hash_announcer
- blob_server
- dht
track_bandwidth: false
data_dir: /storage/lbrynet
download_dir: /storage/download
wallet_dir: /storage/lbryum
save_blobs: false
save_files: false
share_usage_data: false
use_upnp: false
save_resolved_claims: false
lbryum_servers:
- spv26.lbry.com:50001

View file

@ -7,12 +7,15 @@ BASE_IMAGE_NAME=lbry/lbrynet-tv
if [[ ${1} == "rc" ]]; then
API_URL="https://api.github.com/repos/lbryio/lbry/releases"
RC_SUFFIX="-rc"
elif [ ${1} != "" ]; then
API_URL="https://api.github.com/repos/lbryio/lbry/releases/tags/${1}"
RC_SUFFIX=""
else
API_URL="https://api.github.com/repos/lbryio/lbry/releases/latest"
RC_SUFFIX=""
fi
echo ${API_URL}
echo "URL: ${API_URL}"
URL=$(
curl -siL ${API_URL}|