Add liveness probe script
This commit is contained in:
parent
ad7ac535ee
commit
77c23efad5
3 changed files with 5 additions and 3 deletions
|
@ -11,5 +11,6 @@ COPY conf/test_daemon_settings.yml ./
|
|||
COPY conf/regtest_daemon_settings.yml ./
|
||||
|
||||
COPY launcher.sh ./launcher.sh
|
||||
RUN chmod a+x launcher.sh
|
||||
COPY scripts/probe.sh ./probe.sh
|
||||
RUN chmod +x ./*.sh
|
||||
CMD ["./launcher.sh"]
|
||||
|
|
|
@ -11,8 +11,6 @@ data_dir: /storage/lbrynet
|
|||
download_dir: /storage/download
|
||||
wallet_dir: /storage/lbryum
|
||||
|
||||
|
||||
|
||||
save_blobs: false
|
||||
save_files: false
|
||||
share_usage_data: false
|
||||
|
|
3
scripts/probe.sh
Executable file
3
scripts/probe.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
curl -sd '{"method": "status"}' $1 |grep '"wallet": true'
|
Loading…
Reference in a new issue