Merge pull request 'KC_PROXY_HEADERS' (#1) from meazdev into staging
Reviewed-on: Disroot-Ansible/keycloak-docker#1 Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
commit
37c2240dc8
2 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
keycloak_compose_dir: '/srv/keycloak-compose'
|
||||
keycloak_image: 'quay.io/keycloak/keycloak'
|
||||
keycloak_version: '25.0.1'
|
||||
keycloak_version: '25.0.2'
|
||||
keycloak_command: '"start-dev"' # set to "start" to run in production mode
|
||||
keycloak_db_name: 'keycloak'
|
||||
keycloak_db_user: 'keycloak'
|
||||
|
@ -27,7 +27,7 @@ keycloak_env:
|
|||
- key: 'KEYCLOAK_ADMIN'
|
||||
value: 'admin'
|
||||
- key: 'KEYCLOAK_ADMIN_PASSWORD'
|
||||
value: 'admin'
|
||||
value: 'changeme'
|
||||
# Uncomment and modify below to add HTTPS certificates:
|
||||
### - key: 'KC_HTTPS_CERTIFICATE_FILE'
|
||||
### value: '"/etc/letsencrypt/live/localhost/fullchain.pem"'
|
||||
|
@ -39,6 +39,9 @@ keycloak_env:
|
|||
- key: 'KC_PORT'
|
||||
value: '8080'
|
||||
env_only: 'true'
|
||||
# Uncomment and modify below if you use a proxy
|
||||
### - key: 'KC_PROXY_HEADERS'
|
||||
### value: 'xforwarded'
|
||||
|
||||
keycloak_ports:
|
||||
- '${KC_PORT}:8080'
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
name: '{{ keycloak_apt_list }}'
|
||||
update_cache: yes
|
||||
|
||||
- name: 'Configure] - Create docker compose dir'
|
||||
- name: '[Configure] - Create docker compose dir'
|
||||
file:
|
||||
path: '{{ keycloak_compose_dir }}'
|
||||
state: directory
|
||||
|
@ -15,7 +15,7 @@
|
|||
src: 'templates/compose.yml.j2'
|
||||
dest: '{{ keycloak_compose_dir }}/docker-compose.yml'
|
||||
|
||||
- name: '[Configure] - Create kecloak env file'
|
||||
- name: '[Configure] - Create keycloak env file'
|
||||
template:
|
||||
src: 'templates/env.j2'
|
||||
dest: '{{ keycloak_compose_dir }}/.env'
|
||||
|
|
Loading…
Reference in a new issue