{"repo":"suchorski/keycloak-docker-compose","free":true,"listed":false,"github":"https://github.com/suchorski/keycloak-docker-compose","clone":"git clone https://github.com/suchorski/keycloak-docker-compose.git","description":"A Docker for a Keycloak server using MariaDB, Nginx, Certbot and Mail","language":"CSS","stars":30,"topics":["docker-compose","keycloak"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Keycloak + MariaDB + Nginx + Certbot + Mail in a Docker Compose stack Introduction This project is a complete stack for running a secure Keycloak server with MariaDB as database and Nginx as reverse proxy with SSL enabled. Prerequisites Docker Engine Docker Compose A valid domain name Installation 1. Clone this repository on your local computer; 2. Create a .env and configure it according to your needs (see below); 3. Run docker compose -f docker-compose-ssl.yml up -d to generate the SSL certificates; 4. Run docker compose -f docker-compose-ssl.yml down to stop the container; 5. Run docker compose up -d to start the stack; 6. Configure the crontab to renew the SSL certificates automatically each 12 hours with the command: docker compose -f /path/to/docker-compose.yml up certbot && docker compose -f /path/to/docker-compose.yml exec nginx nginx -s reload . Informations Keycloak Default admin username and password is: admin . Mail server You can use mail SMTP hostname as mail and port 25 without authentication to send mails from Keycloak. Configuration Environment variables The environment variables are set in the .env file. The following variables are available: Variable Description Default value Required --- --- --- --- KEYCLOAK DOMAIN The domain to be used as Keycloak URL Yes CERTBOT LETSENCRYPT EMAIL The email to be used for Let's Encrypt registration Yes SUBNET The subnet to be used by the containers 172.16.0.0/29 No KEYCLOAK VERSION The Keycloak version to be used latest N","default_branch":null,"files":null,"tree":[],"storefront":"/r/suchorski","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/suchorski/keycloak-docker-compose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}