Wiremock Docker reporting Unhealthy Health status when using a port not 8080
I am setting up a wiremock docker for running my (Spring) app locally and running tests locally and in a pipeline. I am using port 8081 rather than port 8080 as 8080 is used by the application to accept requests, and wiremock is mocking outgoing requests from the app to a 3rd party.
I have found that I need to add a custom healthcheck to point to the correct port (8081) otherwise the default healthcheck seems to be looking at port 8080 and then then Health check fails and my app wont start...