dockerfile: reduce interval and env config

- bitcoind and cln reduce healthcheck time interval
- cln healthcheck no need to use switch case instead use VLS_NETWORK
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2023-11-07 19:00:31 +05:30
parent 5f587ac475
commit f4c13e1a15
5 changed files with 3 additions and 14 deletions

View File

@@ -133,7 +133,7 @@ ENTRYPOINT ["/entrypoint.sh"]
RUN bitcoind -version | grep "Bitcoin Core version v${BITCOIN_VERSION}"
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s \
HEALTHCHECK --interval=10s --timeout=20s --start-period=30s \
CMD ["/bin/sh", "-c", "/healthcheck.sh"]
CMD ["bitcoind"]