Added KEYCLOAK_DEV_PORT env variable for KeycloakServer
This commit is contained in:
parent
86300e7e86
commit
f96e59d085
1 changed files with 4 additions and 0 deletions
|
@ -139,6 +139,10 @@ public class KeycloakServer {
|
|||
}
|
||||
}
|
||||
|
||||
if (System.getenv("KEYCLOAK_DEV_PORT") != null) {
|
||||
config.setPort(Integer.valueOf(System.getenv("KEYCLOAK_DEV_PORT")));
|
||||
}
|
||||
|
||||
if (System.getProperties().containsKey("resources")) {
|
||||
String resources = System.getProperty("resources");
|
||||
if (resources == null || resources.equals("") || resources.equals("true")) {
|
||||
|
|
Loading…
Reference in a new issue