mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
pdns-admin: skip caddy during healthcheck
Caddy can be configured with self-signed SSL certificate, which can cause problems for curl even with `-k` option. Checking uwsgi directly makes sure the python app as well as database connection is working. resolves: #125
This commit is contained in:
parent
09edf0c36b
commit
c704c958b5
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ RUN yarn install --pure-lockfile --production \
|
|||
EXPOSE 8080
|
||||
|
||||
HEALTHCHECK --interval=10s --timeout=10s --retries=3 --start-period=6s \
|
||||
CMD ["curl", "-fsSL", "http://127.0.0.1:8080"]
|
||||
CMD ["curl", "-fsSLo", "/dev/null", "http://127.0.0.1:9494"]
|
||||
|
||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue