Skip to content

Instantly share code, notes, and snippets.

@jwalgemoed
Created February 22, 2024 13:14
Show Gist options
  • Save jwalgemoed/90b5cc34149ed503914181a77382b1db to your computer and use it in GitHub Desktop.
Save jwalgemoed/90b5cc34149ed503914181a77382b1db to your computer and use it in GitHub Desktop.
KeycloakContainer().withAdminPassword("admin").withAdminUsername("admin").apply {
portBindings = listOf("8081:8080")
withRealmImportFile("realm-export.json")
}.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment