Search code examples
dockerswagger-uiignitegridgain

GridGain Web Console with Docker: 404 Not Found


I'm trying to deploy GridGain Web Console 2020.03.01 on RHEL7 x86_64 with Docker following documentation here.

However, there is 404 Not Found error on accessing http://localhost:3000/swagger-ui.html page which is used as healthcheck. Backend logs show no errors. The last version I'm able to get containers running with is 2019.12.02 (which in fact refuses to show a connected cluster, but that's another issue). Starting with 2020.01.00, all backend healthchecks fail. That looks suspicious considering that 2020.01.00 releasenotes include updates of io.springfox and swagger-ui-dist.

Besides that, 2020.03.01 releasenotes say that Console's default port is changed to 8008, but the server still starts on 3000.

Anyone had any luck deploying dockerized Web Console?


Solution

  • The Web Console consists of backend and frontend. The backend is started on port 3000 which is printed in log, while the frontend is started indeed on port 8008 - and you most probably want to use this.

    The docker-compose.yml given on Documentation site maps container's 8008 port to host's 80 port, feel free to replace with any wanted.

    Regarding the heathcheck, /health endpoint is now changed to this