This repository contains a script to create a Pot that will run keycloak on FreeBSD.
- You need a Postgres database. You can get one as a pot as well!
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
pot exec -p keycloak service keycloak stop
pot stop keycloak
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