feat: use ND_PORT env var in health check
This commit is contained in:
parent
7febe05ed5
commit
39b9f818be
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ ENV ND_LOGLEVEL info
|
||||||
ENV ND_PORT 4533
|
ENV ND_PORT 4533
|
||||||
|
|
||||||
EXPOSE ${ND_PORT}
|
EXPOSE ${ND_PORT}
|
||||||
HEALTHCHECK CMD wget -O- http://localhost:4533/ping || exit 1
|
HEALTHCHECK CMD wget -O- http://localhost:${ND_PORT}/ping || exit 1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENTRYPOINT ["/tini", "--"]
|
ENTRYPOINT ["/tini", "--"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue