Skip to content

Jomy10/keycloak-pot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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