It contains Leanda docker image and composes for environments: dev, test, uat, prod
There is keycloak customized theme osdr-theme in folder ./themes
There is ./keycloak-settingsjson/osdr-realm.json file that contains OSDR keycloak base settings. After image up it has
- realm - OSDR
- client - leanda-angular
- keycloak client has settings for connecting applications by oidc protocol
WARNING Default admin logins and passwords for Keycloak and Postrges are placed in ./.ENV file. It is HIGHLY recommended to change them before deploying into real environment.
NOTE: before run image standalone comment ENV DB_VENDOR POSTGRES
docker build --tag keycloak-test .
docker run --rm -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -p 8080:8080 keycloak-test
In order to run Leanda project locally you need to configure keycloak host on your local machine
Edit c:\Windows\System32\Drivers\etc\hosts file and add
127.0.0.1 keycloak
so you can acess Keycloak using the URL http://keycloak:8080
Edit etc/hosts file and add
127.0.0.1 keycloak