Compare commits
139
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d4cce1bf9 | ||
|
|
4a9ebc7b0a | ||
|
|
84d01d1307 | ||
|
|
593bb02293 | ||
|
|
31a89f370d | ||
|
|
2aa2cf6f64 | ||
|
|
0b18c583da | ||
|
|
40dd43068d | ||
|
|
231f11ea05 | ||
|
|
42da1404d0 | ||
|
|
bf0fdd7f90 | ||
|
|
63f3cefc3a | ||
|
|
26c48578a8 | ||
|
|
8a53f02159 | ||
|
|
df81075066 | ||
|
|
890f8ac11a | ||
|
|
664a47f49c | ||
|
|
020c4822fd | ||
|
|
105b34664a | ||
|
|
415994f1f3 | ||
|
|
9a93ec369c | ||
|
|
23b3057329 | ||
|
|
b009fa9219 | ||
|
|
eda5fa71e2 | ||
|
|
8fb51b3ac3 | ||
|
|
8434976fd0 | ||
|
|
203d125bf2 | ||
|
|
18889ab89d | ||
|
|
7fd04f30f3 | ||
|
|
226a2d05e2 | ||
|
|
c60e224a14 | ||
|
|
fc74faf57a | ||
|
|
da933f2aa7 | ||
|
|
10aa561c52 | ||
|
|
2dc64b23e4 | ||
|
|
e9186dec84 | ||
|
|
fcd1262721 | ||
|
|
d7de714eeb | ||
|
|
95d9a634d4 | ||
|
|
6d209e4633 | ||
|
|
8c7e433358 | ||
|
|
9fff0056dc | ||
|
|
129437c927 | ||
|
|
3a2220d215 | ||
|
|
f0713c90dd | ||
|
|
0332838752 | ||
|
|
35e15a1735 | ||
|
|
da93d4ea48 | ||
|
|
01a5d97ed7 | ||
|
|
baf69f0fb3 | ||
|
|
2d0e25fd06 | ||
|
|
26adfeee1c | ||
|
|
68d0eeab49 | ||
|
|
926494b3ee | ||
|
|
9e49b1d3c1 | ||
|
|
456950f31d | ||
|
|
6740f23779 | ||
|
|
880221a953 | ||
|
|
398d6692f8 | ||
|
|
6e09a9c0c9 | ||
|
|
5a16e389c4 | ||
|
|
bf09b85448 | ||
|
|
d753a42731 | ||
|
|
bf6a3cb669 | ||
|
|
24ea707337 | ||
|
|
da0046118b | ||
|
|
69531bde6d | ||
|
|
766b2ebfd0 | ||
|
|
0999563353 | ||
|
|
078b2ae35c | ||
|
|
5ff71f0e3c | ||
|
|
30f3420ee5 | ||
|
|
677a3e1dc8 | ||
|
|
2ec11a1135 | ||
|
|
3ef69c527b | ||
|
|
2134cda63a | ||
|
|
9e2ce6b967 | ||
|
|
4863e29854 | ||
|
|
d96822cedd | ||
|
|
295b0711b0 | ||
|
|
e660d79ef1 | ||
|
|
f036e13180 | ||
|
|
40207d43ff | ||
|
|
eb09f26857 | ||
|
|
a0c6074358 | ||
|
|
4afdf95b44 | ||
|
|
9709aceaed | ||
|
|
3686a6751d | ||
|
|
59d082734f | ||
|
|
bc6a8539f3 | ||
|
|
b3001c56ff | ||
|
|
89ffe20aee | ||
|
|
d4f4b6217e | ||
|
|
41b87a9e5e | ||
|
|
86ad2bc409 | ||
|
|
2a56247aa1 | ||
|
|
efb9210c5a | ||
|
|
48d46aa70c | ||
|
|
f2ac689f85 | ||
|
|
2367651a7e | ||
|
|
b8b267d4c5 | ||
|
|
68fcb3cbef | ||
|
|
4381a2d350 | ||
|
|
573ab3d2cb | ||
|
|
c2795cd76c | ||
|
|
17f70ea253 | ||
|
|
2173a9eb5b | ||
|
|
8e1a7f11ca | ||
|
|
ca1eaa8bff | ||
|
|
32ad6d8195 | ||
|
|
4b9900a7fd | ||
|
|
ce899a9480 | ||
|
|
701489665a | ||
|
|
0976a3975f | ||
|
|
22d1220a14 | ||
|
|
0ad2cdf9ad | ||
|
|
eb11f51348 | ||
|
|
7bb62f421e | ||
|
|
f02d4ff427 | ||
|
|
1e09466e78 | ||
|
|
1216469feb | ||
|
|
6a6dbdc798 | ||
|
|
2ac3d013c9 | ||
|
|
80a938d674 | ||
|
|
ddb535ab14 | ||
|
|
8be9a0749a | ||
|
|
0bd09b8cbd | ||
|
|
331eda62fc | ||
|
|
ff5442c869 | ||
|
|
4cb5100065 | ||
|
|
055119eeb5 | ||
|
|
75df5099e9 | ||
|
|
0bb3b7bb28 | ||
|
|
f97b6b973b | ||
|
|
c084972d39 | ||
|
|
3fea801d26 | ||
|
|
72f7960369 | ||
|
|
00e0a17249 | ||
|
|
bfa65c999e |
@@ -6,6 +6,8 @@ PROXY_HOST=localhost
|
|||||||
PROXY_PORT=8080
|
PROXY_PORT=8080
|
||||||
|
|
||||||
ACS_TAG=7.4.1.1
|
ACS_TAG=7.4.1.1
|
||||||
|
ATE_AIO_TAG=4.0.0
|
||||||
AAMQ_TAG=latest
|
AAMQ_TAG=latest
|
||||||
POSTGRES_TAG=13
|
POSTGRES_TAG=13
|
||||||
ASIE_TAG=2.0.8.2
|
ASIE_TAG=2.0.8.2
|
||||||
|
ACS_SHARE_TAG=7.4.1.2
|
||||||
|
|||||||
+32
-13
@@ -5,7 +5,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
image: alfresco/alfresco-content-repository-community:${ACS_TAG}
|
image: alfresco/alfresco-governance-repository-community:${ACS_TAG}
|
||||||
environment:
|
environment:
|
||||||
JAVA_TOOL_OPTIONS: "
|
JAVA_TOOL_OPTIONS: "
|
||||||
-Dencryption.keystore.type=JCEKS
|
-Dencryption.keystore.type=JCEKS
|
||||||
@@ -27,17 +27,25 @@ services:
|
|||||||
-Dsolr.host=search
|
-Dsolr.host=search
|
||||||
-Dsolr.secureComms=secret
|
-Dsolr.secureComms=secret
|
||||||
-Dsolr.sharedSecret=alfresco-secret
|
-Dsolr.sharedSecret=alfresco-secret
|
||||||
-Dsolr.useDynamicShardRegistration=true
|
-Dshare.host=${PROXY_HOST}
|
||||||
|
-Dshare.port=${PROXY_PORT}
|
||||||
|
-Dshare.protocol=${PROXY_PROTOCOL}
|
||||||
-Dalfresco.host=${PROXY_HOST}
|
-Dalfresco.host=${PROXY_HOST}
|
||||||
-Dalfresco.port=${PROXY_PORT}
|
-Dalfresco.port=${PROXY_PORT}
|
||||||
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
||||||
-Daos.baseUrlOverwrite=${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/alfresco/aos
|
-Daos.baseUrlOverwrite=${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/alfresco/aos
|
||||||
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
|
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
|
||||||
-Ddeployment.method=DOCKER_COMPOSE
|
-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
|
-Dcsrf.filter.enabled=false
|
||||||
-Dcors.enabled=false
|
-Dcors.enabled=false
|
||||||
-Dtransform.service.enabled=false
|
-Dtransform.service.enabled=false
|
||||||
-Dlocal.transform.service.enabled=false
|
-Dlocal.transform.service.enabled=true
|
||||||
-Dsystem.content.eagerOrphanCleanup=true
|
-Dsystem.content.eagerOrphanCleanup=true
|
||||||
-Dsystem.content.orphanProtectDays=0
|
-Dsystem.content.orphanProtectDays=0
|
||||||
-Djodconverter.enabled=false
|
-Djodconverter.enabled=false
|
||||||
@@ -46,6 +54,24 @@ services:
|
|||||||
- postgres-acs
|
- postgres-acs
|
||||||
- activemq
|
- activemq
|
||||||
|
|
||||||
|
transform-core-aio:
|
||||||
|
image: alfresco/alfresco-transform-core-aio:${ATE_AIO_TAG}
|
||||||
|
|
||||||
|
share:
|
||||||
|
image: alfresco/alfresco-governance-share-community:${ACS_SHARE_TAG}
|
||||||
|
environment:
|
||||||
|
REPO_HOST: "platform"
|
||||||
|
CSRF_FILTER_REFERER: "${PROXY_PROTOCOL}://${PROXY_HOST}(:${PROXY_PORT})?/?.*"
|
||||||
|
CSRF_FILTER_ORIGIN: "${PROXY_PROTOCOL}://${PROXY_HOST}(:${PROXY_PORT})?"
|
||||||
|
JAVA_OPTS: "
|
||||||
|
-Dshare.host=${PROXY_HOST}
|
||||||
|
-Dshare.port=${PROXY_PORT}
|
||||||
|
-Dshare.protocol=${PROXY_PROTOCOL}
|
||||||
|
-Dalfresco.host=${PROXY_HOST}
|
||||||
|
-Dalfresco.port=${PROXY_PORT}
|
||||||
|
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
||||||
|
"
|
||||||
|
|
||||||
postgres-acs:
|
postgres-acs:
|
||||||
image: postgres:${POSTGRES_TAG}
|
image: postgres:${POSTGRES_TAG}
|
||||||
environment:
|
environment:
|
||||||
@@ -59,21 +85,13 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
SOLR_ALFRESCO_HOST: platform
|
SOLR_ALFRESCO_HOST: platform
|
||||||
SOLR_SOLR_HOST: search
|
SOLR_SOLR_HOST: search
|
||||||
|
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
|
||||||
ALFRESCO_SECURE_COMMS: secret
|
ALFRESCO_SECURE_COMMS: secret
|
||||||
JAVA_TOOL_OPTIONS: "
|
JAVA_TOOL_OPTIONS: "
|
||||||
-Dalfresco.secureComms.secret=alfresco-secret
|
-Dalfresco.secureComms.secret=alfresco-secret
|
||||||
"
|
"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "curl -fsS http://localhost:8983/solr"
|
test: "curl -fsS http://localhost:8983/solr"
|
||||||
|
|
||||||
search-shard-init:
|
|
||||||
image: cfmanteiga/alpine-bash-curl-jq
|
|
||||||
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=0,1
|
|
||||||
"]
|
|
||||||
depends_on:
|
|
||||||
search:
|
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
activemq:
|
activemq:
|
||||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
||||||
@@ -84,8 +102,9 @@ services:
|
|||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
image: local/nginx-ingress:acs
|
image: local/nginx-ingress:acs-share
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- platform
|
- platform
|
||||||
|
- share
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ if [[ $ACS_PLATFORM_URL ]]; then
|
|||||||
sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
|
sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $ACS_SHARE_URL ]]; then
|
||||||
|
sed -i s%http:\/\/share:8080%"$ACS_SHARE_URL"%g /etc/nginx/nginx.conf
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $ACCESS_LOG ]]; then
|
if [[ $ACCESS_LOG ]]; then
|
||||||
sed -i s%\#ENV_ACCESS_LOG%"access_log $ACCESS_LOG;"%g /etc/nginx/nginx.conf
|
sed -i s%\#ENV_ACCESS_LOG%"access_log $ACCESS_LOG;"%g /etc/nginx/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -48,5 +48,12 @@ http {
|
|||||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||||
absolute_redirect off;
|
absolute_redirect off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /share/ {
|
||||||
|
proxy_pass http://share:8080;
|
||||||
|
|
||||||
|
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||||
|
absolute_redirect off;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user