debmaker/ressources/keycloak
Thomas Legay 1705d59286 update 2024-07-04 02:30:57 +02:00
..
rootfs update version & section change 2022-11-01 22:14:36 +01:00
README.MD Add keycloak 2022-10-16 01:39:24 +02:00
debmaker update 2024-07-04 02:30:57 +02:00

README.MD

keycloak

Information

Site : https://www.keycloak.org/

Source : https://github.com/keycloak/keycloak

Install
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt install keycloak

# edit /etc/default/keycloak
# edit /etc/keycloak/keycloak.conf

systemctl enable --now keycloak
Configuration

Create database sample on postgresql

CREATE USER keycloak WITH PASSWORD 'password';

CREATE DATABASE "keycloak"
WITH OWNER "keycloak"
ENCODING 'UTF8'
LC_COLLATE = 'fr_FR.UTF-8'
LC_CTYPE = 'fr_FR.UTF-8'
TEMPLATE template0;

GRANT ALL privileges ON DATABASE keycloak TO keycloak;