DEV-788: increased keycloak version - pimped dockercompose jinja template due...

qa
Görz, Friedrich 3 years ago committed by Hoan To
parent 2f270f1da8
commit 8a9e7bfee5

@ -13,7 +13,7 @@ prom_grafana_version: "9.1.5"
harbor_version: "v2.4.1" harbor_version: "v2.4.1"
keycloak_version: "14.0.0.4" keycloak_version: "20.0.2.1"
pgadmin4_version: "6.14" pgadmin4_version: "6.14"

@ -26,19 +26,16 @@ keycloak_docker: {
image_name: "{{ keycloak_image }}", image_name: "{{ keycloak_image }}",
image_version: "{{ keycloak_version }}", image_version: "{{ keycloak_version }}",
labels: "{{ keycloak_labels + ( keycloak_labels_additional | default([])) }}", labels: "{{ keycloak_labels + ( keycloak_labels_additional | default([])) }}",
command: "start",
environment: [ environment: [
"PROXY_ADDRESS_FORWARDING: \"true\"",
"KEYCLOAK_USER: \"{{ keycloak_admin_username }}\"", "KEYCLOAK_USER: \"{{ keycloak_admin_username }}\"",
"KEYCLOAK_PASSWORD: \"{{ keycloak_admin_password }}\"", "KEYCLOAK_ADMIN_PASSWORD: \"{{ keycloak_admin_password }}\"",
"KC_PROXY: \"edge\"",
"DB_VENDOR: postgres", "KC_HOSTNAME: \"{{ stage_server_domain }}\"",
"DB_DATABASE: \"{{ keycloak_postgres_database }}\"", "KC_DB: \"postgres\"",
"DB_USER: \"{{ keycloak_postgres_username }}\"", "KC_DB_USERNAME: \"{{ keycloak_postgres_username }}\"",
"DB_PASSWORD: \"{{ keycloak_postgres_password }}\"", "KC_DB_PASSWORD: \"{{ keycloak_postgres_password }}\"",
"DB_ADDR: \"{{ keycloak_postgres_host }}\"", "KC_DB_URL: \"jdbc:postgresql://{{ shared_service_postgres_01_hostname }}:{{ service_port_postgres }}/{{ keycloak_postgres_database }}?sslmode=require\""
"JDBC_PARAMS: \"sslmode=require\"",
"JAVA_OPTS_APPEND: \"-Dkeycloak.profile.feature.docker=enabled\"",
], ],
networks: [ networks: [
'"front-tier"', '"front-tier"',

@ -50,11 +50,15 @@ services:
service.command is defined service.command is defined
and (service.command|length>0) and (service.command|length>0)
%} %}
{% if service.command is string %}
command: "{{ service.command }}"
{% elif service.command is iterable %}
command: [ command: [
{% for item in service.command %} {% for item in service.command %}
{{ item }}, {{ item }},
{% endfor %} {% endfor %}
] ]
{% endif %}
{% endif %} {% endif %}
{# ########################################## command #} {# ########################################## command #}
{# ###################################### labels #} {# ###################################### labels #}
@ -167,4 +171,4 @@ services:
{% endif %} {% endif %}
{# ########################################### lines #} {# ########################################### lines #}
{% endfor %} {% endfor %}
{# ################################################## services #} {# ################################################## services #}

Loading…
Cancel
Save