mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
replace localhost with 127.0.0.1 in syncserver Dockerfile (#3673)
* Add myself to CONTRIBUTORS file * replace localhost with 127.0.0.1 in syncserver Dockerfile The healthcheck was failing, presumably because localhost was resolving to ::1 (IPv6), as detailed in this issue: https://github.com/maildev/maildev/pull/500
This commit is contained in:
parent
9877e22fd2
commit
6f2c959dc3
1 changed files with 2 additions and 2 deletions
|
@ -31,6 +31,6 @@ CMD ["anki-sync-server"]
|
|||
# This health check will work for Anki versions 24.08.x and newer.
|
||||
# For older versions, it may incorrectly report an unhealthy status, which should not be the case.
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD wget -qO- http://localhost:${SYNC_PORT}/health || exit 1
|
||||
CMD wget -qO- http://127.0.0.1:${SYNC_PORT}/health || exit 1
|
||||
|
||||
LABEL maintainer="Jean Khawand <jk@jeankhawand.com>"
|
Loading…
Reference in a new issue