Dear Gunter, Vrinda, All,
Hope you can help clear something up.
When we start the keycloak container we do not specify the host it's running on.
When we start the arc container, we pass it AUTH_SERVER_URL.
The keycloak container is the authentication server.
As per advice AUTH_SERVER_URL should be the hostname for your <docker-host>.
Question 1/ is <docker host> equivalent to e.g. the linux box's hostname?
Question 2/ should this <docker host> have an entry in /etc/hosts? If not what other name resolution is acceptable (e.g. in the case when you don't have access to a DNS server)?
Question 3/ Alternatively, should the entry in /etc/hosts map the private network address of the keycloak container e.g. 172.18.0.2, to a name e.g. "docker-keycloak"
I.e.
/etc/hosts:
127.0.0.1 localhost
172.18.0.2 docker-keycloak
The reason I ask is because for the archive container (arc) to resolve the authentication server (AUTH_SERVER_URL) that would have to assume that the keycloak server was started on e.g. <docker host> - but it's not clear if this is the "real" linux host (i.e. hostname) or the container host (e.g. 172.18.0.2).
Hope someone can help put me straight on this.
Best wishes,
Jon