nc-env / templates / template03-keycloak /
@pmarini pmarini authored on 13 Apr 2022
..
artifacts initial commit 3 years ago
Readme.md initial commit 3 years ago
Vagrantfile initial commit 3 years ago
provision.sh initial commit 3 years ago
Readme.md

Keycloak server

Setup

  • Assuming that the copy of the template is called keycloak-instance, move to folder keycloak-instance.
  • Check the content of folder artifacts
File name Description
keycloak-X.Y.Z.tar.gz The installer archive to be downloaded from here
keycloak.service The systemd unit file for Keycloak service
launch.sh Launch script for the Keycloak Server
mkcert mkcert command line utility to be downloaded here. Pick the latest binary for amd64 and rename it to mkcert
rootCA.pem The rootCA previously created in your host machine
rootCA-key.pem The rootCA key previously created in your host machine
standalone.xml The Keycloak Server configuration file
  • Create folder log
  • Open Vagrantfile and change the value of variable lxd.name. It makes sense to give the same name as the folder, in this example keycloak-instance.
  • Open provision.sh and change the value of variable MACHINE_HOSTNAME. It makes sense to give the same name as the folder, plus the domain, in this example keycloak-instance.localenv.com.
  • Run vagrant up > log/provisioning.log
  • Make sure your system is able to resolve the domain name that you specified in variable MACHINE_HOSTNAME, for example by adding an entry in /etc/hosts
  • Start using your environment