93aaf92853
Apparently upstream stopped updating docker hub images semi recently. We should pull from the quay.io location instead. As far as I can tell docker.io/jboss/keycloak and quay.io/keycloak/keycloak orginate from https://github.com/keycloak/keycloak-containers so this switch is in theory fine. But I guess we'll find out. Change-Id: I42c4a62468a5960332126fec90fcf6307c5b6674
21 lines
599 B
Django/Jinja
21 lines
599 B
Django/Jinja
# Version 2 is the latest that is supported by docker-compose in
|
|
# Ubuntu Xenial.
|
|
version: '2'
|
|
|
|
services:
|
|
keycloak:
|
|
image: quay.io/keycloak/keycloak:legacy
|
|
network_mode: host
|
|
restart: always
|
|
environment:
|
|
- KEYCLOAK_USER=admin
|
|
- KEYCLOAK_PASSWORD="{{ keycloak_admin_password }}"
|
|
- DB_VENDOR=h2
|
|
- PROXY_ADDRESS_FORWARDING=true
|
|
command:
|
|
-Djboss.bind.address.private=127.0.0.1
|
|
-Djboss.bind.address=127.0.0.1
|
|
volumes:
|
|
- /var/keycloak/data:/opt/jboss/keycloak/standalone/data
|
|
- /var/log/keycloak:/opt/jboss/keycloak/standalone/log
|