mirror of
https://github.com/gethomepage/homepage.git
synced 2026-10-23 03:27:17 +09:00
Fix: Disable using proxies in Docker HEALTHCHECK (#6930)
This commit is contained in:
1 parent
8c61c6e5b0
commit
a8f03936da
1 file changed
+1
-1
+1
-1
@@ -59,7 +59,7 @@ ENV PORT=3000
|
|||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \
|
HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \
|
||||||
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:$PORT/api/healthcheck || exit 1
|
CMD wget --no-verbose --tries=1 --spider -Y off http://127.0.0.1:$PORT/api/healthcheck || exit 1
|
||||||
|
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
CMD ["node", "server.js"]
|
CMD ["node", "server.js"]
|
||||||
Reference in new issue
Block a user