Compare commits
44 Commits
acs-base
...
propagate/
Author | SHA1 | Date | |
---|---|---|---|
3349cee27c | |||
979924957c | |||
2a4b61053d | |||
b8016f4ac7 | |||
|
99d39fa7f7 | ||
|
1778fd04a4 | ||
|
d616b9ef3a | ||
|
a72d43a6af | ||
2878298644 | |||
11bb8c62ed | |||
962817ba63 | |||
d70efc6943 | |||
83db2b08dc | |||
a3cb815dd1 | |||
fc9c26eac5 | |||
2715b3afea | |||
55b70f1a36 | |||
253b7fd3f2 | |||
9f75b4439d | |||
3ac57ce7d1 | |||
520e211c11 | |||
1635445cba | |||
6ec4a797ca | |||
0ed77985f0 | |||
1d0aa0c91e | |||
7a005d16d7 | |||
60b5a8989b | |||
b762ba0ce1 | |||
c22af67a06 | |||
a7cacf8edc | |||
43d5686407 | |||
e29e80b650 | |||
fbf7ca3678 | |||
69974eaeea | |||
82d6fd5c8a | |||
90e935a49e | |||
6e32209824 | |||
63d1ee7ef9 | |||
a081d5b5c8 | |||
8a5004ed74 | |||
d0a62bfd24 | |||
7cedfa4fa2 | |||
723f3ec954 | |||
dcb88c42ea |
@@ -1,33 +1,85 @@
|
||||
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
||||
#
|
||||
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
|
||||
version: "2"
|
||||
version: "2.1"
|
||||
|
||||
services:
|
||||
platform:
|
||||
image: alfresco/alfresco-content-repository:latest
|
||||
image: alfresco/alfresco-content-repository-community:6.2.0-ga
|
||||
mem_limit: 1700m
|
||||
environment:
|
||||
JAVA_OPTS: "
|
||||
-Ddb.driver=org.postgresql.Driver
|
||||
-Ddb.username=alfresco
|
||||
-Ddb.password=alfresco
|
||||
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
|
||||
-Dindex.subsystem.name=solr6
|
||||
-Dsolr.host=search
|
||||
-Dsolr.port=8983
|
||||
-Dsolr.secureComms=none
|
||||
-Dsolr.useDynamicShardRegistration=true
|
||||
-Dalfresco.host=${PROXY_HOST}
|
||||
-Dalfresco.port=${PROXY_PORT}
|
||||
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
||||
-Daos.baseUrlOverwrite=${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/alfresco/aos
|
||||
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
|
||||
-Ddeployment.method=DOCKER_COMPOSE
|
||||
-Dcsrf.filter.enabled=false
|
||||
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
|
||||
|
||||
-Dtransform.service.enabled=false
|
||||
-Dlocal.transform.service.enabled=false
|
||||
|
||||
-Dsystem.content.eagerOrphanCleanup=true
|
||||
-Dsystem.content.orphanProtectDays=0
|
||||
-Djodconverter.enabled=false
|
||||
"
|
||||
depends_on:
|
||||
- postgres-acs
|
||||
- activemq
|
||||
|
||||
postgres-acs:
|
||||
image: postgres:latest
|
||||
image: postgres:11.7
|
||||
mem_limit: 128m
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=alfresco
|
||||
- POSTGRES_USER=alfresco
|
||||
- POSTGRES_DB=alfresco
|
||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||
|
||||
search:
|
||||
image: docker.inteligr8.com/inteligr8/alfresco-search-services:2.0.1
|
||||
mem_limit: 1g
|
||||
environment:
|
||||
- SOLR_ALFRESCO_HOST=platform
|
||||
- SOLR_ALFRESCO_PORT=8080
|
||||
- SOLR_SOLR_HOST=search
|
||||
- SOLR_SOLR_PORT=8983
|
||||
- ALFRESCO_SECURE_COMMS=none
|
||||
ports:
|
||||
- 8983:8983
|
||||
healthcheck:
|
||||
test: "curl -fsS http://localhost:8983/solr"
|
||||
|
||||
search-shard-init:
|
||||
image: cfmanteiga/alpine-bash-curl-jq
|
||||
mem_limit: 64m
|
||||
command: [ "bash", "-c", "
|
||||
curl -s http://search:8983/solr/admin/cores?action=newCore\\&core=alfresco\\&storeRef=workspace://SpacesStore\\&numShards=2\\&nodeInstance=1\\&numNodes=1\\&template=rerank\\&shardIds=1,2 &&
|
||||
curl -s http://search:8983/solr/admin/cores?action=rename\\&core=alfresco-1\\&other=alfresco
|
||||
"]
|
||||
depends_on:
|
||||
search:
|
||||
condition: service_healthy
|
||||
|
||||
activemq:
|
||||
image: alfresco/alfresco-activemq:latest
|
||||
image: alfresco/alfresco-activemq:5.15.8
|
||||
mem_limit: 512m
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
image: local/nginx-ingress:acs
|
||||
mem_limit: 256m
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
|
Reference in New Issue
Block a user