How To Use Environment Variable Passed From Docker in keycloak custom theme

Hi,

I am Using Docker For Keycloak Server and using postgres db in docker.compose.yml file.
i am passing environment variables through docker file.
so i want to access that environment variables in custom theme file in login.ftl file
I’ve also go through following link:
https://www.keycloak.org/docs/latest/server_development/

  • ${env.ENV_VAR} - for environment variables.
    but i didn’t get that variable.
    if you have any idea or have any documents please share with me.

Thanking You.

@Asperitas did you ever figure this out? I’m on the same boat right now, trying to figure out how to use env variables in the custom theme.