Reputation: 33
I'm starting to configure Keycloak to run on production environment and I need to use a database in order to run more than one instance with a single configuration repository. I'm using Oracle as SGBD. But I didn't find the scripts to create the database in the Keycloak's git. Does anyone knows where can I find them?
Upvotes: 3
Views: 7020
Reputation: 17495
You don't need to specifically run a separate set of SQL files. Keycloak will run it for you on first startup.
A bit of advice as it's not really obvious at first - you'll either need to remove and install the default Keycloak data source (KeycloakDS) or manually modify the standalone.xml to point to the setup you want. It took me a little bit to figure out the order that I needed to do things.
Upvotes: 3