mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-17 14:21:20 +00:00
Support for ACS 5.2.6-RC2
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
ALFRESCO_TAG=5.2.5-SNAPSHOT
|
ALFRESCO_TAG=5.2.6-RC2
|
||||||
SEARCH_TAG=latest
|
SHARE_TAG=5.2.6-RC2
|
||||||
|
SEARCH_TAG=latest
|
||||||
|
POSTGRES_TAG=9.4
|
||||||
|
@@ -1,33 +1,59 @@
|
|||||||
version: '3'
|
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
|
||||||
|
version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
platform:
|
alfresco:
|
||||||
image: docker-internal.alfresco.com/platform:${ALFRESCO_TAG}
|
image: quay.io/alfresco/alfresco-content-repository-52:${ALFRESCO_TAG}
|
||||||
environment:
|
mem_limit: 2g
|
||||||
JAVA_TOOL_OPTIONS: "
|
environment:
|
||||||
-Dsolr.host=search
|
MEM_LIMIT: 2200m
|
||||||
-Dsolr.port=8983
|
JAVA_TOOL_OPTIONS: "
|
||||||
-Dsolr.secureComms=none
|
-Dsolr.host=search
|
||||||
-Dsolr.base.url=/solr
|
-Dsolr.port=8983
|
||||||
-Dindex.subsystem.name=solr6
|
-Dsolr.secureComms=none
|
||||||
"
|
-Dsolr.base.url=/solr
|
||||||
ports:
|
-Dindex.subsystem.name=solr6
|
||||||
- "7203:7203" #JMX connect via service:jmx:rmi:///jndi/rmi://localhost:7203/jmxrmi
|
"
|
||||||
- "5005:5005" #Java debugging
|
ports:
|
||||||
- "8081:8080" #Browser port for Alfresco
|
- 7203:7203 #JMX connect via service:jmx:rmi:///jndi/rmi://localhost:7203/jmxrmi
|
||||||
- "8082:8080" #Browser port for Share
|
- 5005:5005 #Java debugging
|
||||||
- "8084:8080" #Browser port for API Explorer
|
- 8081:8080 #Browser port for Alfresco
|
||||||
search:
|
|
||||||
image: quay.io/alfresco/search-services:${SEARCH_TAG}
|
share:
|
||||||
environment:
|
image: quay.io/alfresco/alfresco-share-52:${SHARE_TAG}
|
||||||
#Solr needs to know how to register itself with Alfresco
|
mem_limit: 1g
|
||||||
SOLR_ALFRESCO_HOST: platform
|
environment:
|
||||||
SOLR_ALFRESCO_PORT: 8080
|
MEM_LIMIT: 1200m
|
||||||
#Alfresco needs to know how to call solr
|
ports:
|
||||||
SOLR_SOLR_HOST: search
|
- 8082:8080
|
||||||
SOLR_SOLR_PORT: 8983
|
|
||||||
#Create the default alfresco and archive cores
|
search:
|
||||||
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
|
image: quay.io/alfresco/search-services:${SEARCH_TAG}
|
||||||
#HTTP by default
|
environment:
|
||||||
ALFRESCO_SECURE_COMMS: none
|
#Solr needs to know how to register itself with Alfresco
|
||||||
ports:
|
SOLR_ALFRESCO_HOST: alfresco
|
||||||
- "8083:8983" #Browser port for Solr
|
SOLR_ALFRESCO_PORT: 8080
|
||||||
|
#Alfresco needs to know how to call solr
|
||||||
|
SOLR_SOLR_HOST: search
|
||||||
|
SOLR_SOLR_PORT: 8983
|
||||||
|
#Create the default alfresco and archive cores
|
||||||
|
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
|
||||||
|
#HTTP by default
|
||||||
|
ALFRESCO_SECURE_COMMS: none
|
||||||
|
ports:
|
||||||
|
- 8083:8983
|
||||||
|
|
||||||
|
libreoffice:
|
||||||
|
image: xcgd/libreoffice
|
||||||
|
mem_limit: 1g
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres:${POSTGRES_TAG}
|
||||||
|
mem_limit: 512m
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=alfresco
|
||||||
|
- POSTGRES_USER=alfresco
|
||||||
|
- POSTGRES_DB=alfresco
|
||||||
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
Reference in New Issue
Block a user