Had the same problem, I was able to fix it setting a new environment variable for keycloak:
- KEYCLOAK_FRONTEND_URL=http://localhost:8012/auth
But Im not sure if it is the best option (i post a new question here Keycloak - Java App Redirect within Docker)