Fixed HEALTCHECK now Nginx is running on a different port

This commit is contained in:
Tim de Pater 2019-01-27 08:01:52 +01:00
parent e95b618d3e
commit 9ef6acf619

View File

@ -42,4 +42,4 @@ EXPOSE 8080
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
# Configure a healthcheck to validate that everything is up&running # Configure a healthcheck to validate that everything is up&running
HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1/fpm-ping HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:8080/fpm-ping