I am trying to deploy a keycloak docker container as a Fargate Task in AWS. The Task starts and the keycloak landing page is available in the provided DNS, but after some seconds it goes back offline.
After troubleshooting a bit I discovered that the problem arises by the ALB's healthcheck. The ALB makes thinks the app is unhealthy and it kills the task. I tried with different paths for the healthchech: "/", "/auth", "/index.html". None of the paths solve the issue, however, when I run a HTTP GET request on postman on those paths when the task is still up I get a "200 OK" response, so I don't understand why the healthcheck fails...
Is there a special path in keycloak for the healthcheck? Or does anyone know how how to solve this issue?