/keycloak-pot

Run Keycloak on FreeBSD through Pot!

Primary LanguageShell

Keycloak in Pot

This repository contains a script to create a Pot that will run keycloak on FreeBSD.

Usage

git clone https://github.com/jomy10/postgres-pot
cd postgres-pot
sh pot_build.sh <postgres-password>
  • Start postgres
pot start postgres
  • Now build the Keycloak pot. This will also initialize the database
sh pot_build.sh <hostname> <postgres-password>

NOTE hostname should include protocol (https)

  • Now you can run Keycloak on FreeBSD!
pot start keycloak

Stopping keycloak

pot exec -p keycloak service keycloak stop
pot stop keycloak

Troubleshooting

If the pot starts succesfully, but you can't access keycloak, you can look at the logs:

pot term keycloak
tail -f /var/log/keycloak/keycloak.out