mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized keykloak, mailu and css
This commit is contained in:
@@ -13,24 +13,6 @@ The role integrates Keycloak with PostgreSQL as a database and supports operatio
|
||||
- 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:
|
||||
|
||||
1. **Include database and proxy configuration files:**
|
||||
- Integration of a PostgreSQL database.
|
||||
- Setup of a reverse proxy for the domain.
|
||||
|
||||
2. **Generate `docker-compose.yml`:**
|
||||
- Automatically generate the Docker Compose file based on templates and variables.
|
||||
|
||||
3. **Start Docker containers:**
|
||||
- The role launches the Keycloak project using Docker Compose.
|
||||
|
||||
## More Information 📚
|
||||
|
||||
For more details about Keycloak, check out:
|
||||
|
@@ -15,4 +15,8 @@ KEYCLOAK_ADMIN_PASSWORD= "{{applications.keycloak.administrator_password}
|
||||
KC_DB= postgres
|
||||
KC_DB_URL= jdbc:postgresql://{{database_host}}/{{database_name}}
|
||||
KC_DB_USERNAME= {{database_username}}
|
||||
KC_DB_PASSWORD= {{database_password}}
|
||||
KC_DB_PASSWORD= {{database_password}}
|
||||
|
||||
# If the initial administrator already exists and the environment variables are still present at startup, an error message stating the failed creation of the initial administrator is shown in the logs. Keycloak ignores the values and starts up correctly.
|
||||
KC_BOOTSTRAP_ADMIN_USERNAME= {{administrator_username}}
|
||||
KC_BOOTSTRAP_ADMIN_PASSWORD= {{administrator_password}}
|
Reference in New Issue
Block a user