De laatste major release, 8.0.0, is vanaf vandaag te downloaden van Docker Hub. De bijbehorende Docker Compose file is te vinden op GitHub - valtimo-platform/valtimo-platform.
Dit is de directe link naar Naar Valtimo 8.0.0 op Docker Hub
I have been able to install the platform locally. However, I encountered a problem when installing it in a cloud server. The installation works, but when I try to access valtimo console through http://MY_SERVER_IP/, I get immediatly redirected to http://localhost:8081/auth/realms/valtimo/protocol/openid-connect/auth?client_id=valtimo-console&redirect_uri=http%3A%2F%2Flocalhost%2Fkeycloak%2Fcallback&state=4e680688-3a4b-4025-a7a6-ff80b0252379&response_mode=fragment&response_type=code&scope=openid&nonce=efb163de-926b-4b6b-8142-cadc492ffec6
It seems that the console redirects the request to the Keycloak server, but does not translate the hardcoded localhost:8081 redirect rule to the actual SERVER_IP:8081 address.
Is there any additional environment variable that could be passed in the docker-compose.yaml file to configure the external IP of the services?
Thank you for your help.
Good morning Eduardo,
Thank you for your message! At the moment, the KeyCloak url is hard-coded in our demo-Docker to http://localhost:8081/auth. This configuration can only be changed in the Console code. However, we are working on a way to get Angular configuration from Docker environment variables. I expect we have this change added to the demo-Docker in a few weeks. In the meantime, you should be able to change the configuration by changing the Console code and building yourself.
Thank you for the fast response. Could you indicate where I need to change it? Then I’ll do it and I’ll rebuild the console docker image myself
The KeyCloak configuration file is located on /src/environments/auth/keycloak-config.dev.ts, the url property on line 28.
Thank you Thomas, I’ll try that.
We just release a new Docker image of the Valtimo Console: 0.0.8. This version supports external configuration of the KeyCloak environment. More information can be found in the readme on valtimo-platform/README.md at main · valtimo-platform/valtimo-platform · GitHub.