Merge pull request #127 from pimlie/patch-1
fix: healthcheck in Dockerfile
This commit is contained in:
commit
afad65f204
@ -14,7 +14,7 @@ USER redlib
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Run a healthcheck every minute to make sure redlib is functional
|
# Run a healthcheck every minute to make sure redlib is functional
|
||||||
HEALTHCHECK --interval=1m --timeout=3s CMD wget --spider --q http://localhost:8080/settings || exit 1
|
HEALTHCHECK --interval=1m --timeout=3s CMD wget --spider -q http://localhost:8080/settings || exit 1
|
||||||
|
|
||||||
CMD ["redlib"]
|
CMD ["redlib"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user