mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
Fixes #375 - New HEALTHCHECK CMD failing to parse URL
This commit is contained in:
parent
8ac33a0278
commit
5448d8057c
1 changed files with 1 additions and 1 deletions
|
@ -73,5 +73,5 @@ RUN chmod +x wg-ui
|
||||||
COPY init.sh .
|
COPY init.sh .
|
||||||
|
|
||||||
EXPOSE 5000/tcp
|
EXPOSE 5000/tcp
|
||||||
HEALTHCHECK CMD ["wget","--output-document=-","--quiet","--tries=1","http://127.0.0.1:$(echo ${BIND_ADDRESS:-5000} | cut -d ':' -f2)/_health"]
|
HEALTHCHECK CMD ["ash", "-c", "wget --output-document=- --quiet --tries=1 http://127.0.0.1:$(echo ${BIND_ADDRESS:-5000} | cut -d ':' -f2)/_health"]
|
||||||
ENTRYPOINT ["./init.sh"]
|
ENTRYPOINT ["./init.sh"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue