Skip to content

Commit

Permalink
build(sovity-daps): use Keycloak dev in Compose
Browse files Browse the repository at this point in the history
Without start-dev, Keycloak tries to require HTTPS even in local setups,
even with KC_HTTP_ENABLED=true.
  • Loading branch information
sybereal committed Apr 30, 2024
1 parent c47aa4e commit 20f691d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ the following environment variable adjustments are needed:
- `KC_PROXY=edge`
- `KC_HOSTNAME=keycloak.example.com`

Additionally, the `start-dev` command should be removed from the `docker-compose.yml`.

Further configuration options can be found in the official [Keycloak documentation](https://www.keycloak.org/server/all-config).

## Realm Configuration
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
keycloak:
build: .
command: [start-dev]
restart: always
environment:
KC_DB: postgres
Expand Down

0 comments on commit 20f691d

Please sign in to comment.