keycloak: Adjust configuration for quarkus distribution
This commit is contained in:
parent
a3f9ea4852
commit
d8ae5f5911
2 changed files with 9 additions and 13 deletions
|
@ -52,7 +52,7 @@ keycloak_database_user: "keycloak"
|
||||||
keycloak_database_password: "{{ lookup('passwordstore', keycloak_domain + '/database' + ' create=true') }}"
|
keycloak_database_password: "{{ lookup('passwordstore', keycloak_domain + '/database' + ' create=true') }}"
|
||||||
|
|
||||||
# The default welcome theme keycloak will use
|
# The default welcome theme keycloak will use
|
||||||
keycloak_theme_welcome: "keycloak"
|
keycloak_theme_welcome: "{{ omit }}"
|
||||||
|
|
||||||
# The SELinux level that should be used for the postgres data folder/container
|
# The SELinux level that should be used for the postgres data folder/container
|
||||||
keycloak_postgres_selinux_level: "{{ omit }}"
|
keycloak_postgres_selinux_level: "{{ omit }}"
|
||||||
|
|
|
@ -40,24 +40,20 @@ services:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- "PROXY_ADDRESS_FORWARDING=true"
|
- "KC_PROXY=edge"
|
||||||
- "KEYCLOAK_HOSTNAME={{ keycloak_domain }}"
|
- "KC_FEATURES=scripts,upload-scripts"
|
||||||
- "KEYCLOAK_LOGLEVEL={{ keycloak_log_level }}"
|
- "KC_HOSTNAME={{ keycloak_domain }}"
|
||||||
- "ROOT_LOGLEVEL={{ keycloak_root_log_level }}"
|
- "KC_LOGLEVEL={{ keycloak_log_level }}"
|
||||||
{% if keycloak_theme_welcome is defined %}
|
- "KC_DB_URL_HOST=database"
|
||||||
- "KEYCLOAK_WELCOME_THEME={{ keycloak_theme_welcome }}"
|
- "KC_DB_USERNAME={{ keycloak_database_user }}"
|
||||||
{% endif %}
|
- "KC_DB_PASSWORD={{ keycloak_database_password }}"
|
||||||
- "DB_VENDOR=postgres"
|
|
||||||
- "DB_ADDR=database"
|
|
||||||
- "DB_USER={{ keycloak_database_user }}"
|
|
||||||
- "DB_PASSWORD={{ keycloak_database_password }}"
|
|
||||||
networks:
|
networks:
|
||||||
backend:
|
backend:
|
||||||
{% if proxy_network is defined %}
|
{% if proxy_network is defined %}
|
||||||
{{ proxy_network }}:
|
{{ proxy_network }}:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
command: ["--features=scripts,upload_scripts"]
|
command: ["start --auto-build --db=postgres"{% if keycloak_theme_welcome != omit %}, "--spi-theme-welcome-theme={{ keycloak_theme_welcome }}"{% endif %}]
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
database:
|
database:
|
||||||
|
|
Loading…
Add table
Reference in a new issue