2024-11-08 17:05:19 +00:00
|
|
|
---
|
2024-11-08 17:24:12 +00:00
|
|
|
keycloak_version: 26.0.5
|
2024-11-08 17:05:19 +00:00
|
|
|
keycloak_container_name: keycloak
|
|
|
|
|
2024-11-08 17:29:35 +00:00
|
|
|
keycloak_container_image_upstream_registry: quay.io
|
|
|
|
keycloak_container_image_upstream_namespace: keycloak
|
|
|
|
keycloak_container_image_upstream_name: keycloak
|
|
|
|
keycloak_container_image_upstream: >-2
|
|
|
|
{{
|
|
|
|
([
|
|
|
|
keycloak_container_image_upstream_registry | default([]),
|
|
|
|
keycloak_container_image_upstream_namespace | default([]),
|
|
|
|
keycloak_container_image_upstream_name,
|
|
|
|
] | flatten | join('/'))
|
|
|
|
}}
|
2024-11-08 17:05:19 +00:00
|
|
|
keycloak_container_image_name: "keycloak:{{ keycloak_version }}-custom"
|
|
|
|
|
|
|
|
keycloak_container_database_vendor: postgres
|
|
|
|
keycloak_base_path: /opt/keycloak
|
|
|
|
keycloak_container_build_directory: "{{ keycloak_base_path }}/build"
|
|
|
|
keycloak_container_build_jar_directory: providers
|
|
|
|
keycloak_container_build_flags: {}
|
|
|
|
keycloak_provider_jars_directory: "{{ keycloak_base_path }}/providers"
|
|
|
|
keycloak_build_provider_jars_directory: "{{ keycloak_container_build_directory }}/{{ keycloak_container_build_jar_directory }}"
|
|
|
|
|
|
|
|
keycloak_database_hostname: localhost
|
|
|
|
keycloak_database_port: 5432
|
|
|
|
keycloak_database_username: keycloak
|
|
|
|
keycloak_database_password: ~
|
|
|
|
keycloak_database_database: keycloak
|
|
|
|
|
|
|
|
keycloak_container_env: {}
|
|
|
|
keycloak_container_labels: ~
|
|
|
|
keycloak_container_volumes: ~
|
|
|
|
keycloak_container_restart_policy: unless-stopped
|
|
|
|
keycloak_container_command: >-2
|
|
|
|
start
|
|
|
|
--db-username {{ keycloak_database_username }}
|
|
|
|
--db-password {{ keycloak_database_password }}
|
2024-11-09 11:21:56 +00:00
|
|
|
--db-url jdbc:postgresql://{{ keycloak_database_hostname }}{{ keycloak_database_port | ternary(':' ~ keycloak_database_port, '') }}/{{ keycloak_database_database }}
|
|
|
|
{{ keycloak_container_extra_start_flags | default([]) | join(' ') }}
|
|
|
|
--proxy-headers=xforwarded
|
|
|
|
--hostname {{ keycloak_config_hostname }}
|
2024-11-08 17:05:19 +00:00
|
|
|
--optimized
|
|
|
|
|
|
|
|
keycloak_config_health_enabled: true
|
|
|
|
keycloak_config_metrics_enabled: true
|
|
|
|
|
|
|
|
keycloak_config_hostname: localhost
|
|
|
|
keycloak_config_admin_username: admin
|
|
|
|
keycloak_config_admin_password: ~
|