Skip to content

Commit d15d8f4

Browse files
author
Matt Raible
authored
Add warning about Keycloak in hosts file
1 parent e3f2dc2 commit d15d8f4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

reactive-jhipster/demo.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,17 @@ cd ../store
184184
docker-compose -f src/main/docker/mongodb.yml up -d #jhmongoup
185185
./gradlew
186186
----
187+
+
188+
[CAUTION]
189+
====
190+
To make Keycloak work, you need to add the following line to your hosts file (`/etc/hosts` on Mac/Linux, `c:\Windows\System32\Drivers\etc\hosts` on Windows).
191+
192+
----
193+
127.0.0.1 keycloak
194+
----
195+
196+
This is because you will access your application with a browser on your machine (which is named localhost, or `127.0.0.1`), but inside Docker, it will run in its own container, which is named `keycloak`.
197+
====
187198

188199
. Open `http://localhost:8080` in your favorite browser. You should be able to login with `admin/admin` as credentials.
189200

0 commit comments

Comments
 (0)