Skip to content

Commit 33e3246

Browse files
committed
feat: keycloak docs updated
1 parent f86bcb6 commit 33e3246

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/dev_ops/services/.pages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
title: 🛎️ Service
1+
title: 🛎️ Services
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# 🗝 Keycloak
22

3-
## Resolve Local Naming
3+
## Docker compose
44

5-
Keycloak is accessed via two routes: host.docker.internal (from the backend) and localhost (from the frontend). To ensure consistent access, an additional hostname is introduced that works for both.
5+
### Resolve local naming
66

7-
Add the following entry to your /etc/hosts file to resolve keycloak.internal to your local machine:
7+
Sometimes Keycloak is accessed via multiple routes. For example `host.docker.internal` (from a backend) and `localhost` (from a frontend). To ensure consistent access, an additional hostname is introduced that works for both.
8+
9+
Add the following entry to your `/etc/hosts` file to resolve `keycloak.internal` to your local machine:
810

911
```sh
1012
echo -e '127.0.0.1\tkeycloak.internal' | sudo tee -a /etc/hosts
@@ -16,4 +18,4 @@ Verify the setup by running:
1618
ping keycloak.internal
1719
```
1820

19-
This resolves keycloak.internal to 127.0.0.1 for both backend and frontend access.
21+
This resolves `keycloak.internal` to `127.0.0.1` for both backend and frontend access.

0 commit comments

Comments
 (0)