It seems to work but influx logs an unauthorised connection every minute which when I tested confirmed that it is because of the health check attempt to “ping” the service.
Is there a way to do this without a token? It seems overkill to have to create and use a token to check if the application is running.
You might be able to do what you want if you can scrape this url from inside the container , believe this url doesn’t require any authentication (but apologies if I’m wrong) because it is listening on localhost. It should be enough to test the http return code is in the 2xx range to test for success