mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-24 14:31:29 +00:00
SEARCH-1650 Support master-slave, rather than master-master.
This commit is contained in:
@@ -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:
|
||||||
|
@@ -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"
|
||||||
|
@@ -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:
|
||||||
|
@@ -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"
|
||||||
|
Reference in New Issue
Block a user