2016-01-13 13:24:31 +00:00
|
|
|
embed-server --server-config=standalone-ha.xml
|
2016-08-17 19:18:13 +00:00
|
|
|
/subsystem=datasources/data-source=KeycloakDS/:add(connection-url="jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE",jta=false,driver-name=h2,jndi-name=java:jboss/datasources/KeycloakDS,password=sa,user-name=sa,use-java-context=true)
|
2015-10-14 07:23:55 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak:add(jndi-name="infinispan/Keycloak")
|
|
|
|
/subsystem=infinispan/cache-container=keycloak/transport=TRANSPORT:add(lock-timeout=60000)
|
|
|
|
/subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms:add(mode="SYNC")
|
|
|
|
/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users:add(mode="SYNC")
|
2016-08-03 09:04:22 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/eviction=EVICTION:add(max-entries=10000,strategy=LRU)
|
2015-10-14 07:23:55 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions:add(mode="SYNC",owners="1")
|
2016-01-13 13:24:31 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions:add(mode="SYNC",owners="1")
|
2015-10-14 22:44:33 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures:add(mode="SYNC",owners="1")
|
2016-08-12 14:15:13 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization:add(mode="SYNC",owners="1")
|
2016-02-17 12:02:47 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/replicated-cache=work:add(mode="SYNC")
|
2015-10-14 22:44:33 +00:00
|
|
|
/extension=org.keycloak.keycloak-server-subsystem/:add(module=org.keycloak.keycloak-server-subsystem)
|
2016-08-22 20:09:16 +00:00
|
|
|
run-batch --file=default-keycloak-subsys-config.cli
|