Compare commits
30 Commits
acs
...
propagate/
Author | SHA1 | Date | |
---|---|---|---|
3349cee27c | |||
979924957c | |||
2a4b61053d | |||
|
99d39fa7f7 | ||
|
1778fd04a4 | ||
|
a72d43a6af | ||
2878298644 | |||
11bb8c62ed | |||
962817ba63 | |||
83db2b08dc | |||
fc9c26eac5 | |||
2715b3afea | |||
253b7fd3f2 | |||
9f75b4439d | |||
520e211c11 | |||
1635445cba | |||
0ed77985f0 | |||
1d0aa0c91e | |||
7a005d16d7 | |||
b762ba0ce1 | |||
a7cacf8edc | |||
43d5686407 | |||
fbf7ca3678 | |||
69974eaeea | |||
82d6fd5c8a | |||
63d1ee7ef9 | |||
a081d5b5c8 | |||
8a5004ed74 | |||
7cedfa4fa2 | |||
dcb88c42ea |
@@ -1,7 +1,7 @@
|
||||
# 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:
|
||||
@@ -13,7 +13,11 @@ services:
|
||||
-Ddb.username=alfresco
|
||||
-Ddb.password=alfresco
|
||||
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
|
||||
-Dindex.subsystem.name=noindex
|
||||
-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}
|
||||
@@ -43,6 +47,31 @@ services:
|
||||
- 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:5.15.8
|
||||
mem_limit: 512m
|
||||
|
Reference in New Issue
Block a user