improved health checks for tile cache server

This commit is contained in:
Jenny Danzmayr 2023-12-23 23:31:38 +01:00
parent 59e02a90af
commit 18462e9ea7
2 changed files with 29 additions and 4 deletions

View file

@ -77,7 +77,7 @@ ENV C3NAV_DEBUG="" \
USER c3nav
WORKDIR /app
EXPOSE 8000 5000
HEALTHCHECK --start-period=10s --interval=10s --timeout=1s CMD curl -f http://localhost:8000/check || exit 1
HEALTHCHECK --start-period=10s --interval=10s --timeout=1s CMD curl -f http://localhost:8000/health/ready || exit 1
CMD ["/app/env/bin/uwsgi", "--master", \
"--wsgi", "c3nav.tileserver.wsgi", \
"--pythonpath", "/app/src", \