mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 10:47:19 +03:00
feat: use ND_PORT env var in health check
This commit is contained in:
parent
7febe05ed5
commit
39b9f818be
@ -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…
x
Reference in New Issue
Block a user