Compare commits
84
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
faa633c46c | ||
|
|
72026e2ad2 | ||
|
|
ab44e01638 | ||
|
|
b3c89aa9ce | ||
|
|
fbda2bcdde | ||
|
|
0b18c583da | ||
|
|
40dd43068d | ||
|
|
231f11ea05 | ||
|
|
bae1c47984 | ||
|
|
df452d73a0 | ||
|
|
664a47f49c | ||
|
|
020c4822fd | ||
|
|
105b34664a | ||
|
|
59c87eb302 | ||
|
|
8c875fe850 | ||
|
|
415994f1f3 | ||
|
|
9a93ec369c | ||
|
|
81ca2ed038 | ||
|
|
51b777c0c5 | ||
|
|
ef221d9c7a | ||
|
|
57af0a20b1 | ||
|
|
76e4287aa1 | ||
|
|
241a3e47ea | ||
|
|
c2a9679ede | ||
|
|
c60e224a14 | ||
|
|
fc74faf57a | ||
|
|
da933f2aa7 | ||
|
|
10aa561c52 | ||
|
|
2dc64b23e4 | ||
|
|
e9186dec84 | ||
|
|
d556040909 | ||
|
|
64f85da579 | ||
|
|
9899d03da9 | ||
|
|
5b4069427e | ||
|
|
7511eba729 | ||
|
|
173de2375e | ||
|
|
8e3301877a | ||
|
|
8b4e45c2e2 | ||
|
|
9e1a819e8b | ||
|
|
10e7f81163 | ||
|
|
481e1bb38d | ||
|
|
29f254a68e | ||
|
|
3a2220d215 | ||
|
|
f0713c90dd | ||
|
|
0332838752 | ||
|
|
35e15a1735 | ||
|
|
456950f31d | ||
|
|
6740f23779 | ||
|
|
880221a953 | ||
|
|
398d6692f8 | ||
|
|
5a16e389c4 | ||
|
|
078b2ae35c | ||
|
|
5ff71f0e3c | ||
|
|
30f3420ee5 | ||
|
|
677a3e1dc8 | ||
|
|
2ec11a1135 | ||
|
|
e660d79ef1 | ||
|
|
f036e13180 | ||
|
|
40207d43ff | ||
|
|
41b87a9e5e | ||
|
|
86ad2bc409 | ||
|
|
2a56247aa1 | ||
|
|
efb9210c5a | ||
|
|
48d46aa70c | ||
|
|
17f70ea253 | ||
|
|
2173a9eb5b | ||
|
|
8e1a7f11ca | ||
|
|
ca1eaa8bff | ||
|
|
32ad6d8195 | ||
|
|
701489665a | ||
|
|
0976a3975f | ||
|
|
0ad2cdf9ad | ||
|
|
7bb62f421e | ||
|
|
f02d4ff427 | ||
|
|
1e09466e78 | ||
|
|
1216469feb | ||
|
|
6a6dbdc798 | ||
|
|
2ac3d013c9 | ||
|
|
80a938d674 | ||
|
|
ddb535ab14 | ||
|
|
331eda62fc | ||
|
|
0bb3b7bb28 | ||
|
|
f97b6b973b | ||
|
|
3fea801d26 |
@@ -4,3 +4,9 @@ ALFRESCO_LICENSE_DIR=~/alfresco/license
|
||||
PROXY_PROTOCOL=http
|
||||
PROXY_HOST=localhost
|
||||
PROXY_PORT=8080
|
||||
|
||||
ACS_TAG=7.4.1.1
|
||||
ATE_AIO_TAG=4.0.0
|
||||
AAMQ_TAG=latest
|
||||
POSTGRES_TAG=13
|
||||
ASIE_TAG=2.0.8.2
|
||||
|
||||
+49
-36
@@ -1,34 +1,49 @@
|
||||
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
||||
# Originally 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: "3"
|
||||
|
||||
services:
|
||||
|
||||
platform:
|
||||
image: alfresco/alfresco-content-repository-community:6.2.0-ga
|
||||
mem_limit: 1700m
|
||||
image: alfresco/alfresco-content-repository-community:${ACS_TAG}
|
||||
environment:
|
||||
JAVA_TOOL_OPTIONS: "
|
||||
-Dencryption.keystore.type=JCEKS
|
||||
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
|
||||
-Dencryption.keyAlgorithm=DESede
|
||||
-Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
|
||||
-Dmetadata-keystore.password=mp6yc0UD9e
|
||||
-Dmetadata-keystore.aliases=metadata
|
||||
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
|
||||
-Dmetadata-keystore.metadata.algorithm=DESede
|
||||
"
|
||||
JAVA_OPTS: "
|
||||
-Xms512m -Xmx1g
|
||||
-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.secureComms=secret
|
||||
-Dsolr.sharedSecret=alfresco-secret
|
||||
-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
|
||||
-DlocalTransform.core-aio.url=http://transform-core-aio:8090/
|
||||
-Dalfresco-pdf-renderer.url=http://transform-core-aio:8090/
|
||||
-Djodconverter.url=http://transform-core-aio:8090/
|
||||
-Dimg.url=http://transform-core-aio:8090/
|
||||
-Dtika.url=http://transform-core-aio:8090/
|
||||
-Dtransform.misc.url=http://transform-core-aio:8090/
|
||||
-Dcsrf.filter.enabled=false
|
||||
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
|
||||
|
||||
-Dcors.enabled=true
|
||||
-Dcors.allowed.origins=http://localhost:4200,http://localhost:8080,${PROXY_PROTOCOL}://${PROXY_HOST}
|
||||
-Dtransform.service.enabled=false
|
||||
-Dlocal.transform.service.enabled=false
|
||||
|
||||
-Dlocal.transform.service.enabled=true
|
||||
-Dsystem.content.eagerOrphanCleanup=true
|
||||
-Dsystem.content.orphanProtectDays=0
|
||||
-Djodconverter.enabled=false
|
||||
@@ -37,43 +52,41 @@ services:
|
||||
- postgres-acs
|
||||
- activemq
|
||||
|
||||
transform-core-aio:
|
||||
image: alfresco/alfresco-transform-core-aio:${ATE_AIO_TAG}
|
||||
|
||||
postgres-acs:
|
||||
image: postgres:11.7
|
||||
mem_limit: 128m
|
||||
image: postgres:${POSTGRES_TAG}
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=alfresco
|
||||
- POSTGRES_USER=alfresco
|
||||
- POSTGRES_DB=alfresco
|
||||
POSTGRES_PASSWORD: alfresco
|
||||
POSTGRES_USER: alfresco
|
||||
POSTGRES_DB: alfresco
|
||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||
|
||||
search:
|
||||
image: quay.io/alfresco/insight-engine:2.0.1
|
||||
mem_limit: 1g
|
||||
image: alfresco/alfresco-search-services:${ASIE_TAG}
|
||||
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
|
||||
|
||||
insight:
|
||||
image: quay.io/alfresco/insight-zeppelin:2.0.1
|
||||
mem_limit: 1g
|
||||
environment:
|
||||
- REPO_HOST=platform
|
||||
- REPO_PORT=8080
|
||||
SOLR_ALFRESCO_HOST: platform
|
||||
SOLR_SOLR_HOST: search
|
||||
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
|
||||
ALFRESCO_SECURE_COMMS: secret
|
||||
JAVA_TOOL_OPTIONS: "
|
||||
-Dalfresco.secureComms.secret=alfresco-secret
|
||||
"
|
||||
healthcheck:
|
||||
test: "curl -fsS http://localhost:8983/solr"
|
||||
|
||||
activemq:
|
||||
image: alfresco/alfresco-activemq:5.15.8
|
||||
mem_limit: 512m
|
||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
||||
environment:
|
||||
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
||||
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
||||
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
image: local/nginx-ingress:acs-insight
|
||||
mem_limit: 256m
|
||||
image: local/nginx-ingress:acs
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- platform
|
||||
- insight
|
||||
|
||||
@@ -4,10 +4,6 @@ if [[ $ACS_PLATFORM_URL ]]; then
|
||||
sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
if [[ $INSIGHT_URL ]]; then
|
||||
sed -i s%http:\/\/insight:9090%"$INSIGHT_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,12 +48,5 @@ http {
|
||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||
absolute_redirect off;
|
||||
}
|
||||
|
||||
location /zeppelin/ {
|
||||
proxy_pass http://insight:9090;
|
||||
|
||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||
absolute_redirect off;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user