Skip to content

Commit

Permalink
use keycloak 16.1.1 and add docs about mac m1
Browse files Browse the repository at this point in the history
  • Loading branch information
zemirco committed Feb 25, 2022
1 parent 53ade5b commit af8e857
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

services:
keycloak:
image: jboss/keycloak:15.0.2
image: jboss/keycloak:16.1.1
ports:
- 8080:8080
env:
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ Use `down` if you want to stop the Keycloak server.
docker-compose down
```

### Mac M1

Using the default Docker image `jboss/keycloak:16.1.1` does not work. It is easy to build it yourself.

```bash
git clone [email protected]:keycloak/keycloak-containers.git
cd keycloak-containers/server
git checkout 16.1.1
docker build -t jboss/keycloak:16.1.1 .
```

From https://github.com/docker/for-mac/issues/5310#issuecomment-877653653.

## Architecture

The main entry point is `keycloak.go`. This is where the Keycloak instance is created. It all starts in this file.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
POSTGRES_PASSWORD: password

keycloak:
image: jboss/keycloak:15.0.2
image: jboss/keycloak:16.1.1
environment:
DB_VENDOR: POSTGRES
DB_ADDR: postgres
Expand Down

0 comments on commit af8e857

Please sign in to comment.