52 lines
1.9 KiB
YAML
52 lines
1.9 KiB
YAML
---
|
|
keycloak_version: 26.0.5
|
|
keycloak_container_name: keycloak
|
|
|
|
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('/'))
|
|
}}
|
|
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 }}
|
|
--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 }}
|
|
--optimized
|
|
|
|
keycloak_config_health_enabled: true
|
|
keycloak_config_metrics_enabled: true
|
|
|
|
keycloak_config_hostname: localhost
|
|
keycloak_config_admin_username: admin
|
|
keycloak_config_admin_password: ~
|