Compare commits
39
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6f2befafb | ||
|
|
c11990900c | ||
|
|
e07cea5ffa | ||
|
|
99d39fa7f7 | ||
|
|
1778fd04a4 | ||
|
|
a72d43a6af | ||
|
|
f10722dec9 | ||
|
|
3b5fc8c096 | ||
|
|
ac7e691100 | ||
|
|
15ccb5642b | ||
|
|
4349851dd9 | ||
|
|
9b3ba22ca1 | ||
|
|
2878298644 | ||
|
|
11bb8c62ed | ||
|
|
962817ba63 | ||
|
|
a56556b596 | ||
|
|
83db2b08dc | ||
|
|
fc9c26eac5 | ||
|
|
2715b3afea | ||
|
|
253b7fd3f2 | ||
|
|
9f75b4439d | ||
|
|
520e211c11 | ||
|
|
1635445cba | ||
|
|
b1f3b14846 | ||
|
|
0ed77985f0 | ||
|
|
1d0aa0c91e | ||
|
|
7a005d16d7 | ||
|
|
b762ba0ce1 | ||
|
|
0b507962fa | ||
|
|
a7cacf8edc | ||
|
|
43d5686407 | ||
|
|
fbf7ca3678 | ||
|
|
69974eaeea | ||
|
|
82d6fd5c8a | ||
|
|
63d1ee7ef9 | ||
|
|
a081d5b5c8 | ||
|
|
8a5004ed74 | ||
|
|
7cedfa4fa2 | ||
|
|
dcb88c42ea |
+38
-2
@@ -13,7 +13,10 @@ 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
|
||||
-Dalfresco.host=${PROXY_HOST}
|
||||
-Dalfresco.port=${PROXY_PORT}
|
||||
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
||||
@@ -33,6 +36,8 @@ services:
|
||||
-Dimg.url=http://transform-engine-aio:8090
|
||||
-Dtika.url=http://transform-engine-aio:8090
|
||||
-Dtransform.misc.url=http://transform-engine-aio:8090
|
||||
|
||||
-Ddsync.service.uris=${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/sync
|
||||
|
||||
-Dsystem.content.eagerOrphanCleanup=true
|
||||
-Dsystem.content.orphanProtectDays=0
|
||||
@@ -77,18 +82,49 @@ services:
|
||||
- POSTGRES_USER=alfresco
|
||||
- POSTGRES_DB=alfresco
|
||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||
|
||||
search:
|
||||
image: alfresco/alfresco-search-services:2.0.1
|
||||
mem_limit: 2g
|
||||
environment:
|
||||
- SOLR_ALFRESCO_HOST=platform
|
||||
- SOLR_ALFRESCO_PORT=8080
|
||||
- SOLR_SOLR_HOST=search
|
||||
- SOLR_SOLR_PORT=8983
|
||||
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
|
||||
- ALFRESCO_SECURE_COMMS=none
|
||||
|
||||
activemq:
|
||||
image: alfresco/alfresco-activemq:5.15.8
|
||||
mem_limit: 256m
|
||||
|
||||
sync:
|
||||
image: quay.io/alfresco/service-sync:3.3.3.1
|
||||
mem_limit: 512m
|
||||
environment:
|
||||
JAVA_OPTS : "
|
||||
-Dsql.db.driver=org.postgresql.Driver
|
||||
-Dsql.db.url=jdbc:postgresql://postgres-acs:5432/alfresco
|
||||
-Dsql.db.username=alfresco
|
||||
-Dsql.db.password=alfresco
|
||||
-Dmessaging.broker.host=activemq
|
||||
-Drepo.hostname=platform
|
||||
-Drepo.port=8080
|
||||
-Ddw.server.applicationConnectors[0].type=http
|
||||
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
|
||||
"
|
||||
depends_on:
|
||||
- postgres-acs
|
||||
- activemq
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
image: local/nginx-ingress:acs
|
||||
image: local/nginx-ingress:acs-sync
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- platform
|
||||
- sync
|
||||
|
||||
volumes:
|
||||
shared-file-store-volume:
|
||||
|
||||
@@ -4,6 +4,10 @@ if [[ $ACS_PLATFORM_URL ]]; then
|
||||
sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
if [[ $ACS_SYNC_URL ]]; then
|
||||
sed -i s%http:\/\/sync:9090%"$ACS_SYNC_URL"%g /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
if [[ $ACCESS_LOG ]]; then
|
||||
sed -i s%\#ENV_ACCESS_LOG%"access_log $ACCESS_LOG;"%g /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
@@ -48,5 +48,9 @@ http {
|
||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||
absolute_redirect off;
|
||||
}
|
||||
|
||||
location /sync/ {
|
||||
proxy_pass http://sync:9090/alfresco/;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user