From 14d97ee7a69bb79c8b5ab589b7cd15859aafe943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 22 Nov 2022 22:37:58 +0100 Subject: [PATCH] Upgrade keycloak to 20.0.1 --- roles/docker/tasks/services/keycloak.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/roles/docker/tasks/services/keycloak.yml b/roles/docker/tasks/services/keycloak.yml index 37d45462..8cf3303e 100644 --- a/roles/docker/tasks/services/keycloak.yml +++ b/roles/docker/tasks/services/keycloak.yml @@ -19,24 +19,19 @@ POSTGRES_DB: "keycloak" app: - image: "quay.io/keycloak/keycloak:15.0.2" + image: "quay.io/keycloak/keycloak:20.0.1" restart: "unless-stopped" networks: - "keycloak" - "postfix" - "external_services" + command: "start --db=postgres --db-url=jdbc:postgresql://postgres:5432/keycloak --db-username=keycloak --db-password={{ postgres_passwords.keycloak }} --hostname={{ keycloak.domain }} --proxy=edge --https-port=8080" environment: VIRTUAL_HOST: "{{ keycloak.domain }}" VIRTUAL_PORT: "8080" LETSENCRYPT_HOST: "{{ keycloak.domain }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" - DB_USER: "keycloak" - DB_PASSWORD: "{{ postgres_passwords.keycloak }}" - DB_ADDR: "keycloak_postgres_1" - #KEYCLOAK_USER: "{{ keycloak_secrets.admin_user }}" # Only used for the first run of the application to set up the admin user - #KEYCLOAK_PASSWORD: "{{ keycloak_secrets.admin_password }}" - PROXY_ADDRESS_FORWARDING: "true" - + networks: keycloak: postfix: