fixed RHSSO-903
This commit is contained in:
parent
d0b3b50dd3
commit
2d3a003a16
1 changed files with 16 additions and 13 deletions
|
@ -1,23 +1,25 @@
|
|||
|
||||
=== Database Configuration
|
||||
|
||||
The configuration for this component lies in the `standalone.xml`, `standalone-ha.xml`, or `domain.xml` file
|
||||
in your distribution. The location of this file
|
||||
depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>.
|
||||
The configuration for this component is found in the `standalone.xml`, `standalone-ha.xml`, or `domain.xml` file in your distribution. The location of this file depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>.
|
||||
|
||||
.Database Config
|
||||
[source,xml]
|
||||
----
|
||||
<spi name="connectionsJpa">
|
||||
<provider name="default" enabled="true">
|
||||
<properties>
|
||||
<property name="dataSource" value="java:jboss/datasources/KeycloakDS"/>
|
||||
<property name="initializeEmpty" value="false"/>
|
||||
<property name="migrationStrategy" value="manual"/>
|
||||
<property name="migrationExport" value="${jboss.home.dir}/keycloak-database-update.sql"/>
|
||||
</properties>
|
||||
</provider>
|
||||
</spi>
|
||||
<subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
|
||||
...
|
||||
<spi name="connectionsJpa">
|
||||
<provider name="default" enabled="true">
|
||||
<properties>
|
||||
<property name="dataSource" value="java:jboss/datasources/KeycloakDS"/>
|
||||
<property name="initializeEmpty" value="false"/>
|
||||
<property name="migrationStrategy" value="manual"/>
|
||||
<property name="migrationExport" value="${jboss.home.dir}/keycloak-database-update.sql"/>
|
||||
</properties>
|
||||
</provider>
|
||||
</spi>
|
||||
...
|
||||
</subsystem>
|
||||
----
|
||||
|
||||
Possible configuration options are:
|
||||
|
@ -55,3 +57,4 @@ schema::
|
|||
Specify the database schema to use
|
||||
|
||||
NOTE: These configuration switches and more are described in the link:{{book.appserver.jpa.link}}[_{{book.appserver.jpa.name}}_].
|
||||
|
||||
|
|
Loading…
Reference in a new issue