https://github.com/k911/keycloak-ha-docker
Highly available Keycloak setup using docker and docker-compose
https://github.com/k911/keycloak-ha-docker
docker docker-compose high-availability keycloak
Last synced: 2 months ago
JSON representation
Highly available Keycloak setup using docker and docker-compose
- Host: GitHub
- URL: https://github.com/k911/keycloak-ha-docker
- Owner: k911
- Created: 2019-11-06T21:07:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-06T21:07:31.000Z (over 6 years ago)
- Last Synced: 2025-01-10T09:41:34.474Z (over 1 year ago)
- Topics: docker, docker-compose, high-availability, keycloak
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Keycloak HA
Configured using docker and docker-compose
## Running
```sh
docker-compose up -d coredns
docker-compose up -d db
docker-compose up -d keycloak-a keycloak-b
# goto: http://localhost:8080 or http://localhost:9090
```
Now you can try breaking stuff
```sh
docker-compose restart keycloak-b
```
..and checking logs
```sh
docker-compose logs -f keycloak-a
```
## Debuging DNS
```sh
docker-compose build runner
docker-compose run --rm runner bash
dig keycloak.service-discovery.local
# on 2nd tab:
docker-compose logs -f coredns
```