-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Keycloak Configuration and Upgrade FastAPI Key Authentication (#…
…97) * fix: local variable 'security_scheme' referenced before assignment * add openapi-schema-pydantic * remove duplicates command * remove spaces from docker-compose.yml * remove --optimized and update env vars to use the latest keycloak * upgrade fastapi-key-auth to 0.12.0 fix empty token validation
- Loading branch information
1 parent
006d7f4
commit e92f8b7
Showing
4 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
# keycloak default admin user and password | ||
KEYCLOAK_ADMIN=admin | ||
KEYCLOAK_ADMIN_PASSWORD=admin | ||
DB_VENDOR=postgres | ||
DB_ADDR=postgres | ||
DB_DATABASE=keycloak | ||
DB_USER=keycloak | ||
DB_PASSWORD=password | ||
POSTGRES_DB=keycloak | ||
POSTGRES_USER=keycloak | ||
POSTGRES_PASSWORD=password | ||
|
||
# predefined client secret | ||
CLIENT_SECRET=2yholx8r3mqyUJaOoJiZhcqvQDQwmgyD | ||
|
||
# to be changed in prodection | ||
KC_HOSTNAME=localhost | ||
KC_HEALTH_ENABLED=true | ||
KC_METRICS_ENABLED=true | ||
KC_HOSTNAME_STRICT_HTTPS=false | ||
KC_HOSTNAME_STRICT=false | ||
|
||
# database type to be used by keycloak and host name (container name) of the database | ||
KC_DB=postgres | ||
KC_DB_URL_HOST=postgres | ||
|
||
# database credentials to be used by keycloak and postgres | ||
POSTGRES_DB=keycloak | ||
POSTGRES_USER=keycloak | ||
POSTGRES_PASSWORD=password | ||
|
||
# skip override of data if already exists | ||
KC_OVERRIDE=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters