Fix healthcheck

master
Dimitri Huisman 2 years ago
parent af1cba2b30
commit dc7613b34a

@ -88,5 +88,5 @@ VOLUME ["/data"]
CMD /start.py
HEALTHCHECK CMD curl -f -L http://localhost/ || exit 1
HEALTHCHECK CMD curl -f -L http://localhost/health || exit 1
RUN echo $VERSION >> /version

@ -47,4 +47,9 @@ server {
location ^~ /data {
deny all;
}
location /health {
add_header Content-Type text/plain;
return 200;
}
}

Loading…
Cancel
Save