Commit 92fce967 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Usa IP local para healthcheck

parent 86d496bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ FROM nginx:${NGINX_IMAGE_TAG}
LABEL maintainer="info@redmic.es"

HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=10 \
	CMD wget --spider -q http://localhost/nginx-health || exit 1
	CMD wget --spider -q http://127.0.0.1/nginx-health || exit 1

COPY static-pages.conf /etc/nginx/conf.d/default.conf
COPY content /usr/share/nginx/html