mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-26 20:59:44 +03:00
Healthcheck: account for custom bind port
This commit is contained in:
parent
f256668a99
commit
2a2bc26c15
1 changed files with 1 additions and 1 deletions
|
@ -74,5 +74,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:5000/_health"]
|
HEALTHCHECK CMD ["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
Reference in a new issue