mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-21 22:53:21 +01:00
Update keycloak
This commit is contained in:
parent
c5d4956635
commit
c5a7c76800
@ -148,6 +148,7 @@ domain_funkwhale: "music.{{top_domain}}"
|
|||||||
domain_gitea: "git.{{top_domain}}"
|
domain_gitea: "git.{{top_domain}}"
|
||||||
domain_gitlab: "gitlab.{{top_domain}}"
|
domain_gitlab: "gitlab.{{top_domain}}"
|
||||||
domain_portfolio: "{{top_domain}}"
|
domain_portfolio: "{{top_domain}}"
|
||||||
|
domain_keycloak: "auth.{{top_domain}}"
|
||||||
domain_listmonk: "newsletter.{{top_domain}}"
|
domain_listmonk: "newsletter.{{top_domain}}"
|
||||||
domain_mailu: "{{system_email_host}}"
|
domain_mailu: "{{system_email_host}}"
|
||||||
domain_mastodon: "microblog.{{top_domain}}"
|
domain_mastodon: "microblog.{{top_domain}}"
|
||||||
@ -174,6 +175,7 @@ redirect_domain_mappings:
|
|||||||
- { source: "discourse.{{top_domain}}", target: "{{domain_discourse}}" }
|
- { source: "discourse.{{top_domain}}", target: "{{domain_discourse}}" }
|
||||||
- { source: "funkwhale.{{top_domain}}", target: "{{domain_funkwhale}}" }
|
- { source: "funkwhale.{{top_domain}}", target: "{{domain_funkwhale}}" }
|
||||||
- { source: "gitea.{{top_domain}}", target: "{{domain_gitea}}" }
|
- { source: "gitea.{{top_domain}}", target: "{{domain_gitea}}" }
|
||||||
|
- { source: "keycloak.{{top_domain}}", target: "{{domain_keycloak}}" }
|
||||||
- { source: "listmonk.{{top_domain}}", target: "{{domain_listmonk}}" }
|
- { source: "listmonk.{{top_domain}}", target: "{{domain_listmonk}}" }
|
||||||
- { source: "moodle.{{top_domain}}", target: "{{domain_moodle}}" }
|
- { source: "moodle.{{top_domain}}", target: "{{domain_moodle}}" }
|
||||||
- { source: "nextcloud.{{top_domain}}", target: "{{domain_nextcloud}}" }
|
- { source: "nextcloud.{{top_domain}}", target: "{{domain_nextcloud}}" }
|
||||||
@ -185,6 +187,7 @@ redirect_domain_mappings:
|
|||||||
- { source: "taiga.{{top_domain}}", target: "{{domain_taiga}}" }
|
- { source: "taiga.{{top_domain}}", target: "{{domain_taiga}}" }
|
||||||
- { source: "videos.{{top_domain}}", target: "{{domain_peertube}}" }
|
- { source: "videos.{{top_domain}}", target: "{{domain_peertube}}" }
|
||||||
|
|
||||||
|
|
||||||
## Docker Applications
|
## Docker Applications
|
||||||
|
|
||||||
### Enable Central MariaDB
|
### Enable Central MariaDB
|
||||||
|
@ -297,6 +297,15 @@
|
|||||||
http_port_api: 8030
|
http_port_api: 8030
|
||||||
http_port_web: 8031
|
http_port_web: 8031
|
||||||
|
|
||||||
|
- name: setup keycloak
|
||||||
|
hosts: keycloak
|
||||||
|
become: true
|
||||||
|
roles:
|
||||||
|
- role: docker-keycloak
|
||||||
|
vars:
|
||||||
|
domain: "{{domain_keycloack}}"
|
||||||
|
http_port: 8032
|
||||||
|
|
||||||
# Native Webserver Roles
|
# Native Webserver Roles
|
||||||
- name: setup nginx-static-repositorys
|
- name: setup nginx-static-repositorys
|
||||||
hosts: nginx-static-repositorys
|
hosts: nginx-static-repositorys
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
- https://github.com/keycloak/keycloak
|
- https://github.com/keycloak/keycloak
|
||||||
- https://en.wikipedia.org/wiki/Keycloak
|
- https://en.wikipedia.org/wiki/Keycloak
|
||||||
- https://www.keycloak.org/server/containers
|
- https://www.keycloak.org/server/containers
|
||||||
|
- https://www.youtube.com/watch?v=fvxQ8bW0vO8
|
@ -1,8 +1,5 @@
|
|||||||
version: '3.7'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
# include database container
|
|
||||||
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
@ -15,8 +12,8 @@ services:
|
|||||||
KC_HTTP_ENABLED: false
|
KC_HTTP_ENABLED: false
|
||||||
KC_HOSTNAME_STRICT_HTTPS: true
|
KC_HOSTNAME_STRICT_HTTPS: true
|
||||||
KC_HEALTH_ENABLED: true
|
KC_HEALTH_ENABLED: true
|
||||||
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN}
|
KEYCLOAK_ADMIN: "{{keycloak_administrator_username}}"
|
||||||
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
|
KEYCLOAK_ADMIN_PASSWORD: "{{keycloak_administrator_password}}"
|
||||||
KC_DB: postgres
|
KC_DB: postgres
|
||||||
KC_DB_URL: jdbc:postgresql://{{database_host}}/{{database_name}}
|
KC_DB_URL: jdbc:postgresql://{{database_host}}/{{database_name}}
|
||||||
KC_DB_USERNAME: {{database_username}}
|
KC_DB_USERNAME: {{database_username}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user