mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
docker-keycloak
Description 🌟
This role automates the setup and configuration of Keycloak in a Docker environment. Keycloak is an open-source identity and access management solution. The role integrates Keycloak with PostgreSQL as a database and supports operation behind a reverse proxy like NGINX.
Features ✨
- Set up Keycloak as a Docker container.
- Use PostgreSQL as the database.
- Customizable configuration of Keycloak environment variables.
- Support for running behind a reverse proxy (e.g., NGINX).
- Automatic creation and management of Docker Compose files.
Requirements 📋
- Docker and Docker Compose must be installed on the target system.
- A working NGINX proxy for forwarding requests to Keycloak (optional).
Tasks 🛠️
The role performs the following main tasks:
-
Include database and proxy configuration files:
- Integration of a PostgreSQL database.
- Setup of a reverse proxy for the domain.
-
Generate
docker-compose.yml
:- Automatically generate the Docker Compose file based on templates and variables.
-
Start Docker containers:
- The role launches the Keycloak project using Docker Compose.
More Information 📚
For more details about Keycloak, check out:
- Official Keycloak Documentation
- GitHub Repository
- Setting up Keycloak behind a Reverse Proxy
- Wikipedia
- Youtube Tutorial
Author ✍️
Kevin Veen-Birkenbach
veen.world