Accessing artifacts hosted on GitHub necessitates the use of a GitHub account for downloading purposes:
local.properties.default
and rename it to local.properties
.To run the OpenMRS Server & Keycloak
.env
from the template .env.default
To login, use one of this user: https://github.com/icrc/openmrs-distro-sso/blob/main/keycloak/users.csv
local.properties
local.properties
to logout: http://localhost:8080/realms/main/protocol/openid-connect/logout There is an issue with current OpenMRS installation and SSO Logout process.
List of Users for OpenMRS: https://github.com/icrc/openmrs-distro-sso/blob/main/keycloak/users.csv
localhost
vs 10.0.0.2
Keycloak can be accessed only from one URL but:
localhost
will be used to log into OpenMRS Web application10.0.0.2
will be used from the android AppThus the variable KC_HOSTNAME
( see docker-compose.yml
, line 89) defining Keycloak hostname should be changed accordingly to the use case.
After a modification, Restart Keycloak with docker compose up -d
that will restart only the service keycloak if you change that variable only or use docker compose restart keycloak
.
See https://github.com/google/android-fhir/tree/openmrs as a custom code is made for openmrs