The keycloak.env contains some environment variables: KEYCLOAK_USER=kc_dev KEYCLOAK_PASSWORD=kc_dev1231232 KEYCLOAK_IMPORT="-Dkeycloak.profile.feature.upload_scripts=enabled" DB_VENDOR=mariadb DB_ADDR=keycloak_db:3306 DB_DATABASE=keycloak_1 DB_USER=root DB_PASSWORD=root … Creating a customized and optimized container image. The option -e is used to pass a value for the container environment variables KEYCLOAK_USER and KEYCLOAK_PASSWORD. community.general.keycloak_client module - Ansible Errors. keycloak/keycloak-containers. The configuration source and the corresponding format you should use is use-case specific. Welcome to the community Budi! in a Kubernetes cluster With this short blog post, I am going to share with you a few ways you can read application properties from application.properties file in Spring Boot. Configuring Keycloak - Keycloak All our images are based on minideb a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading Linux distribution. Docker Hub adminSettings__deleteTrashDaysAgo= Specify the number of days after which to permanently delete items from the Trash. keycloak : image: "quay.io/keycloak/keycloak:16.1.1" environment : - KEYCLOAK_IMPORT=/tmp/realm.json volumes : - ./realm.json:/tmp/realm.json:ro. You find the code example here webapp/src/main.js. GitHub Environment Variables in Keycloak - Stack Overflow Now start the Database instance, for example a PostgreSQL instance, passing as argument (–net) the user defined network: docker run -d --name postgres --net keycloak-network -e POSTGRES_DB=keycloak -e POSTGRES_USER=keycloak -e POSTGRES_PASSWORD=password … If you want to set environment variable globally for all users and processes, then add the environment variable in /etc/environment file Open the /etc/environment file # sudo vi /etc/environment Add the following line to set environment variable MY_HOME. Start a Keycloak instance and connect to the MySQL instance: docker run --name keycloak --net keycloak-network jboss/keycloak If you used a different name for the MySQL instance to mysql you need to specify the DB_ADDR environment variable.