SEARCH-1650 Support master-slave, rather than master-master.

This commit is contained in:
Tom Page
2019-11-19 08:54:10 +00:00
parent 1030eac1b7
commit 36013f31a2
4 changed files with 8 additions and 8 deletions

View File

@@ -89,8 +89,8 @@ services:
ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %> ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %>
TRUSTSTORE_TYPE: JCEKS TRUSTSTORE_TYPE: JCEKS
KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %> KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %>
ENABLE_MASTER: "true" ENABLE_MASTER: "false"
ENABLE_SLAVE: "false" ENABLE_SLAVE: "true"
MASTER_HOST: solr6 <% } %> MASTER_HOST: solr6 <% } %>
mem_limit: 1200m mem_limit: 1200m
environment: environment:

View File

@@ -114,8 +114,8 @@ services:
ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %> ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %>
TRUSTSTORE_TYPE: JCEKS TRUSTSTORE_TYPE: JCEKS
KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %> KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %>
ENABLE_MASTER: "true" ENABLE_MASTER: "false"
ENABLE_SLAVE: "false" ENABLE_SLAVE: "true"
MASTER_HOST: solr6 <% } %> <% if (sharding == 'true') { %> MASTER_HOST: solr6 <% } %> <% if (sharding == 'true') { %>
ENABLE_SHARDING: "true" ENABLE_SHARDING: "true"
NUM_SHARDS: "2" NUM_SHARDS: "2"

View File

@@ -105,8 +105,8 @@ services:
ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %> ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %>
TRUSTSTORE_TYPE: JCEKS TRUSTSTORE_TYPE: JCEKS
KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %> KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %>
ENABLE_MASTER: "true" ENABLE_MASTER: "false"
ENABLE_SLAVE: "false" ENABLE_SLAVE: "true"
MASTER_HOST: solr6 <% } %> MASTER_HOST: solr6 <% } %>
mem_limit: 1200m mem_limit: 1200m
environment: environment:

View File

@@ -123,8 +123,8 @@ services:
ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %> ALFRESCO_COMMS: <%=secureComms%> <% if (httpMode == 'https') { %>
TRUSTSTORE_TYPE: JCEKS TRUSTSTORE_TYPE: JCEKS
KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %> KEYSTORE_TYPE: JCEKS <% } %> <% if (replication == 'true') { %>
ENABLE_MASTER: "true" ENABLE_MASTER: "false"
ENABLE_SLAVE: "false" ENABLE_SLAVE: "true"
MASTER_HOST: solr6 <% } %> <% if (sharding == 'true') { %> MASTER_HOST: solr6 <% } %> <% if (sharding == 'true') { %>
ENABLE_SHARDING: "true" ENABLE_SHARDING: "true"
NUM_SHARDS: "2" NUM_SHARDS: "2"