Last active
July 25, 2018 08:01
-
-
Save sujaypillai/fbbeae67ca96e85a018a5743625e7edd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.6" | |
services: | |
alfresco: | |
image: alfresco/alfresco-content-repository:6.1.0-EA1 | |
#mem_limit: 1500m | |
deploy: | |
resources: | |
limits: | |
memory: 1500M | |
environment: | |
JAVA_OPTS: " | |
-Ddb.driver=org.postgresql.Driver | |
-Ddb.username=alfresco | |
-Ddb.password=alfresco | |
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco | |
-Dsolr.host=solr6 | |
-Dsolr.port=8983 | |
-Dsolr.secureComms=none | |
-Dsolr.base.url=/solr | |
-Dindex.subsystem.name=solr6 | |
-Dalfresco-pdf-renderer.url=http://alfresco-pdf-renderer:8090/ | |
-Djodconverter.url=http://libreoffice:8090/ | |
-Dimg.url=http://imagemagick:8090/ | |
-Dtika.url=http://tika:8090/ | |
-Dshare.host=localhost | |
-Ddeployment.method=DOCKER_COMPOSE | |
-Dcsrf.filter.enabled=false | |
-Xms1g -Xmx1g | |
" | |
ports: | |
- 8082:8080 #Browser port | |
alfresco-pdf-renderer: | |
image: alfresco/alfresco-pdf-renderer:1.2 | |
#mem_limit: 1g | |
deploy: | |
resources: | |
limits: | |
memory: 1G | |
environment: | |
JAVA_OPTS: " -Xms256m -Xmx256m" | |
ports: | |
- 8090:8090 | |
imagemagick: | |
image: alfresco/alfresco-imagemagick:1.2 | |
#mem_limit: 1g | |
deploy: | |
resources: | |
limits: | |
memory: 1G | |
environment: | |
JAVA_OPTS: " -Xms256m -Xmx256m" | |
ports: | |
- 8091:8090 | |
libreoffice: | |
image: alfresco/alfresco-libreoffice:1.2 | |
#mem_limit: 1g | |
deploy: | |
resources: | |
limits: | |
memory: 1G | |
environment: | |
JAVA_OPTS: " -Xms256m -Xmx256m" | |
ports: | |
- 8092:8090 | |
tika: | |
image: alfresco/alfresco-tika:1.2 | |
#mem_limit: 1g | |
deploy: | |
resources: | |
limits: | |
memory: 1G | |
environment: | |
JAVA_OPTS: " -Xms256m -Xmx256m" | |
ports: | |
- 8093:8090 | |
share: | |
image: alfresco/alfresco-share:6.0 | |
#mem_limit: 1g | |
deploy: | |
resources: | |
limits: | |
memory: 1G | |
environment: | |
- REPO_HOST=alfresco | |
- REPO_PORT=8080 | |
- "CATALINA_OPTS= -Xms500m -Xmx500m" | |
ports: | |
- 8080:8080 | |
postgres: | |
image: postgres:10.1 | |
#mem_limit: 1500m | |
deploy: | |
resources: | |
limits: | |
memory: 1500M | |
environment: | |
- POSTGRES_PASSWORD=alfresco | |
- POSTGRES_USER=alfresco | |
- POSTGRES_DB=alfresco | |
command: postgres -c max_connections=300 -c log_min_messages=LOG | |
ports: | |
- 5432:5432 | |
solr6: | |
image: alfresco/alfresco-search-services:1.1.1 | |
#mem_limit: 2500m | |
deploy: | |
resources: | |
limits: | |
memory: 2500M | |
environment: | |
#Solr needs to know how to register itself with Alfresco | |
- SOLR_ALFRESCO_HOST=alfresco | |
- SOLR_ALFRESCO_PORT=8080 | |
#Alfresco needs to know how to call solr | |
- SOLR_SOLR_HOST=solr6 | |
- SOLR_SOLR_PORT=8983 | |
#Create the default alfresco and archive cores | |
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive | |
- "SOLR_JAVA_MEM=-Xms2g -Xmx2g" | |
ports: | |
- 8083:8983 #Browser port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment