These is a docker-compose configuration for a quickstart keycloak:
- keycloak with postgres adapter
- postgresql 9.6
- openldap as ldap container
- haproxy as ssl proxy for keycloak
- git clone the repo
- cd certs
- ./gencert.sh my.magic.testdomain
- cat my.magic.testdomain.crt my.magic.testdomain.key >> cert.pem
- cp cert.pem ../haproxy-etc/cert.pem
- cd ..
- docker-compose up -d
- docker-compose log -f
-
clone repo
-
go in certs directory
-
generate self signing root cert with my.magic.testdomain as domainname. If you have correct certs like letsencrypt, you can strip these.
-
If you have a certificate you have to generate one cert.pem for haproxy with the command
cat fullchain.pem cert.pem privkey.pem >> cert.pem
-
copy the cert in the haproxy config directory
-
...
-
start docker containers with docker-compose
-
look at the logs, ...
Now you can open your Keycloak console with https://servername:20443/
In the folder examples are the two example container from the workshop:
- Redmine
- Rocket.Chat
Configuration is discussed in the workshop!
Greetings
:peter pfläging peter@pflaeging.net