mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Update keycloak
This commit is contained in:
@@ -4,4 +4,5 @@
|
||||
- https://www.keycloak.org/
|
||||
- https://github.com/keycloak/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:
|
||||
|
||||
# include database container
|
||||
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
||||
|
||||
keycloak:
|
||||
@@ -15,8 +12,8 @@ services:
|
||||
KC_HTTP_ENABLED: false
|
||||
KC_HOSTNAME_STRICT_HTTPS: true
|
||||
KC_HEALTH_ENABLED: true
|
||||
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN}
|
||||
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
|
||||
KEYCLOAK_ADMIN: "{{keycloak_administrator_username}}"
|
||||
KEYCLOAK_ADMIN_PASSWORD: "{{keycloak_administrator_password}}"
|
||||
KC_DB: postgres
|
||||
KC_DB_URL: jdbc:postgresql://{{database_host}}/{{database_name}}
|
||||
KC_DB_USERNAME: {{database_username}}
|
||||
|
@@ -10,13 +10,13 @@ services:
|
||||
ports:
|
||||
- "127.0.0.1:{{http_port}}:80"
|
||||
environment:
|
||||
YOURLS_DB_HOST: "{{database_host}}"
|
||||
YOURLS_DB_USER: "{{database_username}}"
|
||||
YOURLS_DB_PASS: "{{database_password}}"
|
||||
YOURLS_DB_NAME: "{{database_name}}"
|
||||
YOURLS_SITE: "https://{{domain}}"
|
||||
yourls_administrator_username: "{{yourls_administrator_username}}"
|
||||
YOURLS_PASS: "{{yourls_administrator_username_password}}"
|
||||
YOURLS_DB_HOST: "{{database_host}}"
|
||||
YOURLS_DB_USER: "{{database_username}}"
|
||||
YOURLS_DB_PASS: "{{database_password}}"
|
||||
YOURLS_DB_NAME: "{{database_name}}"
|
||||
YOURLS_SITE: "https://{{domain}}"
|
||||
yourls_administrator_username: "{{yourls_administrator_username}}"
|
||||
YOURLS_PASS: "{{yourls_administrator_username_password}}"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://127.0.0.1/admin/"]
|
||||
interval: 1m
|
||||
|
Reference in New Issue
Block a user