Add support regtest
Add support for passing version to build.
This commit is contained in:
parent
e5a790ebbb
commit
3383f65297
3 changed files with 29 additions and 1 deletions
|
@ -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
|
||||
|
|
24
conf/regtest_daemon_settings.yml
Normal file
24
conf/regtest_daemon_settings.yml
Normal 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
|
|
@ -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}|
|
||||
|
|
Loading…
Reference in a new issue