Keycloak will not allow access from users or services running on unknown hosts. As an illustration, accessing the YOUnite UI from a system that is distinct or remote from the YOUnite stack.
If there is a need to remotely access YOUnite services such as the YOUnite UI or Kibana using a web browser then extra configuration is required.
if there is a need to remotely access YOUnite services such as the YOUnite UI or Kibana using a web browser then do the following before running a YOUnite provided docker-compose.yml
file or any of the start scripts (e.g. start.sh
, start.cmd
, etc) designed to start the YOUnite stack:
-
Get the public IP address of the host running the YOUnite stack.
-
Add the public IP as follows to the
hosts
file of any remote system from which you intend to remote access YOUnite services from:
<PUBLIC-IP> local.younite.org
Note
|
if you need help see this page on how to edit your host file) |
Setting the Hostname
The hostname local.younite.org
can be changed by setting and exporting the YOUNITE_HOSTNAME
environment variable in the shell where you will be starting the YOUnite stack from. Make this change before running the start script. For example:
Linux or Mac OS:
export YOUNITE_HOSTNAME=younite.myco.com
Windows:
set YOUNITE_HOSTNAME=younite.myco.com