Newer
Older
nc-env / templates / template03-keycloak / 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.zip The installer archive to be downloaded from here - Distribution powered by Quarkus
keycloak.service The systemd unit file for Keycloak service
rootCA.pem The rootCA previously created in your host machine
rootCA-key.pem The rootCA key previously created in your host machine
keycloak-env.conf The environment file for the systemd service
keycloak.conf The Keycloak 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