forked from data.coop/ansible
Upgrade keycloak to 20.0.1
This commit is contained in:
parent
fc7ca37b07
commit
14d97ee7a6
|
@ -19,23 +19,18 @@
|
||||||
POSTGRES_DB: "keycloak"
|
POSTGRES_DB: "keycloak"
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: "quay.io/keycloak/keycloak:15.0.2"
|
image: "quay.io/keycloak/keycloak:20.0.1"
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
networks:
|
networks:
|
||||||
- "keycloak"
|
- "keycloak"
|
||||||
- "postfix"
|
- "postfix"
|
||||||
- "external_services"
|
- "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:
|
environment:
|
||||||
VIRTUAL_HOST: "{{ keycloak.domain }}"
|
VIRTUAL_HOST: "{{ keycloak.domain }}"
|
||||||
VIRTUAL_PORT: "8080"
|
VIRTUAL_PORT: "8080"
|
||||||
LETSENCRYPT_HOST: "{{ keycloak.domain }}"
|
LETSENCRYPT_HOST: "{{ keycloak.domain }}"
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
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:
|
networks:
|
||||||
keycloak:
|
keycloak:
|
||||||
|
|
Loading…
Reference in a new issue