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


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:

  • ${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.