Add keycloak
This commit is contained in:
parent
82049648fe
commit
6ae50db5ac
10 changed files with 134 additions and 1 deletions
38
ressources/keycloak/README.MD
Normal file
38
ressources/keycloak/README.MD
Normal file
|
@ -0,0 +1,38 @@
|
|||
#### keycloak
|
||||
|
||||
##### Information
|
||||
|
||||
Site : https://www.keycloak.org/
|
||||
|
||||
Source : https://github.com/keycloak/keycloak
|
||||
|
||||
##### Install
|
||||
|
||||
```bash
|
||||
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
|
||||
|
||||
```SQL
|
||||
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;
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue