Added KEYCLOAK_DEV_PORT env variable for KeycloakServer
This commit is contained in:
1 parent
86300e7e86
commit
f96e59d085
1 file changed
+4
@@ -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")) {
|
||||
|
||||
Reference in new issue
Block a user