Deploying microcks as stack #740
-
Hi all, I was wanting to setup microcks on a small vm so myself and a friend could both call the same microcks server to save having to different interface configs between machines, so I thought I would deploy microcks as a stack on a ubuntu 22 machine with a fresh install of docker instead of using compose so I had persistent data and auto reboot. When I first tried to deploy as a stack I received an error about docker-compose compatibility as stack doesn't support version '2' anymore and I also converter the docker-compose into version '3', I also changed the ~tmp file storage to use a volume so I had persistent data. Everything seems to start up fine but I try to access the login screen it just hangs and I see some keycloak errors, unfortunately I dont understand enough about keycloak so I thought I would ask the question after not finding much on how to deploy this as a stack from google, stack overflow or the docs. Any help or suggestions on how to launch this as a stack or point me towards the relevant docs would be appreciated. ` services: keycloak: postman: app: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello there, Sorry for delay in answer. As I think you'll reach out the vm using its DNS name, you'll have to customize the Hope it helps! |
Beta Was this translation helpful? Give feedback.
Hello there,
Sorry for delay in answer. As I think you'll reach out the vm using its DNS name, you'll have to customize the
KEYCLOAK_PUBLIC_URL
so that it reflects the DNS name used. Once Keycloak can be reach, you'll also need to configure theredirect_uri
for Microcks realm (default ishttp://localhost:8080
) to match your vm DNS name as well. For that: connect to the Keycloak admin console, login using admin user, change realm to Microcks and add this new redirect url on themicrocks-app-js
client configuration.Hope it helps!