diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-03 07:46:24 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-03 07:46:24 -0600 |
| commit | 87b845f56b03ab7d29bb268033432e060eadfe38 (patch) | |
| tree | 147b2bbde2698c46270e6c45bb2769ceca90ecef | |
| parent | 761e6083819e292427ea2d4c6f37fa3c011be4ce (diff) | |
| download | slskd-87b845f56b03ab7d29bb268033432e060eadfe38.tar.gz | |
use wget for health check
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,6 +54,6 @@ ENV SLSKD_DOWNLOADS_DIR=/var/slskd/downloads ENV SLSKD_DOCKER_VERSION=${VERSION} -HEALTHCHECK --interval=60s --timeout=10s --start-period=60s --retries=3 CMD "curl --fail http://localhost:5000/health || exit" +HEALTHCHECK --interval=60s --timeout=5s --start-period=60s --retries=3 CMD "wget -nv -t1 --spider 'http://localhost:5000/health || exit 1" ENTRYPOINT ["./slskd"]
\ No newline at end of file |
