mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 12:51:54 +01:00
Optimized keykloak, mailu and css
This commit is contained in:
parent
c2975262ea
commit
657918c96e
@ -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:
|
||||
|
@ -16,3 +16,7 @@ KC_DB= postgres
|
||||
KC_DB_URL= jdbc:postgresql://{{database_host}}/{{database_name}}
|
||||
KC_DB_USERNAME= {{database_username}}
|
||||
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}}
|
@ -22,8 +22,8 @@
|
||||
- name: flush docker service
|
||||
meta: flush_handlers
|
||||
|
||||
- name: execute database migration
|
||||
- name: create administrator account
|
||||
command:
|
||||
cmd: "docker compose -p mailu exec admin flask mailu admin admin {{primary_domain}} {{applications.mailu.initial_administrator_password}}"
|
||||
cmd: "docker compose -p mailu exec admin flask mailu admin {{administrator_username}} {{primary_domain}} {{applications.mailu.initial_administrator_password}}"
|
||||
chdir: "{{docker_compose.directories.instance}}"
|
||||
ignore_errors: true
|
@ -82,8 +82,25 @@ HINT:
|
||||
--bs-code-color: var(--color-55); /* Original tone: Pink (#d63384) */
|
||||
--bs-highlight-bg: var(--color-93); /* Original tone: Light Yellow (#fff3cd) */
|
||||
--bs-list-group-bg: var(--color-40);
|
||||
|
||||
--bs-emphasis-color: var(--color-01); /* Gemappt von #000 */
|
||||
--bs-emphasis-color-rgb: var(--color-rgb-01); /* Gemappt von 0, 0, 0 */
|
||||
--bs-secondary-color: rgba(var(--color-rgb-10), 0.75); /* Gemappt von rgba(33, 37, 41, 0.75) */
|
||||
--bs-secondary-color-rgb: var(--color-rgb-10); /* Gemappt von 33, 37, 41 */
|
||||
--bs-secondary-bg: var(--color-90); /* Gemappt von #e9ecef */
|
||||
--bs-secondary-bg-rgb: var(--color-rgb-90); /* Gemappt von 233, 236, 239 */
|
||||
--bs-tertiary-color: rgba(var(--color-rgb-10), 0.5); /* Gemappt von rgba(33, 37, 41, 0.5) */
|
||||
--bs-tertiary-color-rgb: var(--color-rgb-10); /* Gemappt von 33, 37, 41 */
|
||||
--bs-tertiary-bg: var(--color-95); /* Gemappt von #f8f9fa */
|
||||
--bs-tertiary-bg-rgb: var(--color-rgb-95); /* Gemappt von 248, 249, 250 */
|
||||
--bs-link-color-rgb: var(--color-rgb-65); /* Gemappt von 13, 110, 253 */
|
||||
--bs-link-hover-color-rgb: var(--color-rgb-60); /* Gemappt von 10, 88, 202 */
|
||||
--bs-highlight-color: var(--color-10); /* Gemappt von #212529 */
|
||||
--bs-border-color-translucent: rgba(var(--color-rgb-01), 0.175); /* Gemappt von rgba(0, 0, 0, 0.175) */
|
||||
--bs-focus-ring-color: rgba(var(--color-rgb-65), 0.25); /* Gemappt von rgba(13, 110, 253, 0.25) */
|
||||
}
|
||||
|
||||
|
||||
/* Discourse */
|
||||
:root section#main{
|
||||
/* Base Colors */
|
||||
|
Loading…
x
Reference in New Issue
Block a user