Enabling redis template forces H2 database

Including “redis” in “nuxeo.templates” seems to override the previously selected database template (postgresql in our case).

nuxeo.template.includes=default

For example when we have this configuration:

nuxeo.templates=postgresql,docker,redis

Template processing:

Include template: /opt/nuxeo/server/templates/common-base
Include template: /opt/nuxeo/server/templates/common
Include template: /opt/nuxeo/server/templates/postgresql
Include template: /opt/nuxeo/server/templates/docker
Include template: /opt/nuxeo/server/templates/default
Include template: /opt/nuxeo/server/templates/redis

This ends up in “datasources-config.xml”

  <extension target="org.nuxeo.runtime.datasource" point="datasources">
    <datasource name="jdbc/nuxeo" driverClassName="org.h2.Driver"
...
0 votes

0 answers

50 views

ANSWER