Hello,
you can use env-variables in Keycloak.json - see paragraph after the config
example:
https://keycloak.gitbooks.io/securing-client-applications-guide/content/v...
Cheers,
Thomas
2016-09-14 13:30 GMT+02:00 Stian Thorgersen <sthorger(a)redhat.com>:
What adapter? Java adapters has support to write your own config
loader
(see multi-tenancy example). For JavaScript adapter make your web server
dynamically create the keycloak.json.
On 14 September 2016 at 11:30, cen <imbacen(a)gmail.com> wrote:
> Hi
>
> We have a Java REST microservice which is configured as a whole through
> environment variables and deployed in Docker.
>
> We can't provide production keycloak.json at Docker build time because
> then it becomes a specific container for a specific deployment. We want
> to keep the container unconfigured and neutral, ready to be deployed
> with any Keycloak server.
>
> At the moment we have an additional step in production deployment that
> copies the correct keycloak.json into a running Docker container and
> restarts it.
>
> Ideally though, we would like to provide keycloak.json through an
> environment variable or load it dynamically from etcd/zookeeper/similar.
>
> is it possible to somehow configure the Keycloak adapter at runtime?
>
>
> Best regards, cen
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user