Skip to content

Commit

Permalink
Merge pull request keycloak#688 from stianst/master
Browse files Browse the repository at this point in the history
Added KEYCLOAK_DEV_PORT env variable for KeycloakServer
  • Loading branch information
stianst committed Sep 11, 2014
2 parents 86300e7 f96e59d commit 228bb29
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 139,10 @@ public static KeycloakServer bootstrapKeycloakServer(String[] args) throws Throw
}
}

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")) {
Expand Down

0 comments on commit 228bb29

Please sign in to comment.