Add documentation for configuring KeycloakServer (#21591)

This commit is contained in:
Stian Thorgersen 2023-07-11 12:59:10 +02:00 committed by GitHub
parent 70f293bca1
commit 41a599144d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,25 @@ and https port, optionally setting the truststore.
-Djavax.net.ssl.keyStorePassword=CHANGEME \ -Djavax.net.ssl.keyStorePassword=CHANGEME \
-Dkeycloak.port.https=8443 -Dkeycloak.port.https=8443
### Configuration
KeycloakServer can be configured with system properties, or through the file `~/.keycloak-server.properties`. Using the
file allows persisting the settings and can also be more convenient when running from an IDE.
Available options include:
|Key| Description |
|---|------------------------------------------------------------------------------------|
|keycloak.port| Set the HTTP port for the server |
|keycloak.port.https| Set the HTTPS port for the server |
|keycloak.bind.address| Set the bind address for the server |
|resources| Loads theme resources directly from the workspace and disables caching |
|keycloak.theme.dir| Specifies an alternative location to load custom themes from |
|keycloak.theme.cacheTemplates| Disables theme template caching |
|keycloak.theme.cacheThemes| Disables theme caching |
|keycloak.theme.staticMaxAge| Sets the client-side caching max-age for theme resources |
|import| Imports a realm from json at startup |
### Default admin account ### Default admin account
The default admin within the master realm are created with credentials: The default admin within the master realm are created with credentials: