add port to health check
This commit is contained in:
@@ -36,7 +36,7 @@ RUN apk add --no-cache \
|
||||
&& chmod +x /usr/local/bin/start-container
|
||||
|
||||
HEALTHCHECK --interval=5m --timeout=3s --start-period=5m --start-interval=10s \
|
||||
CMD curl -f http://localhost/${HEALTHCHECK_PATH} || exit 1
|
||||
CMD curl -f http://localhost:${WEBSERVER_PORT}/${HEALTHCHECK_PATH} || exit 1
|
||||
|
||||
EXPOSE ${WEBSERVER_PORT}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user