Compare commits
99 Commits
propagate/
...
acs-fronte
Author | SHA1 | Date | |
---|---|---|---|
7a5ca07d5a | |||
1997847b0e | |||
2aa2cf6f64 | |||
9f059b6c13 | |||
0de23d43b4 | |||
db5a245d9b | |||
df81075066 | |||
890f8ac11a | |||
2d292ade40 | |||
9af50009c1 | |||
23b3057329 | |||
b009fa9219 | |||
f7c664e7f4 | |||
87761bc77a | |||
1e63392f59 | |||
a24bf1b647 | |||
6d56f610a7 | |||
4748d0e7b6 | |||
299d2fe04d | |||
7fd04f30f3 | |||
226a2d05e2 | |||
8a7d6d2016 | |||
fcd1262721 | |||
d7de714eeb | |||
acf9038a0e | |||
ff441fc4d6 | |||
8c7e433358 | |||
e62b0838f2 | |||
|
20ff424c6a | ||
|
5925d0dada | ||
|
26adfeee1c | ||
|
68d0eeab49 | ||
|
38def362f6 | ||
|
f3d3293e9e | ||
|
2c82f844b1 | ||
|
b805fbbd1a | ||
|
b7c883068a | ||
|
bf09b85448 | ||
6c5f4493dc | |||
4f3da7361a | |||
53404852e1 | |||
75743d2391 | |||
69531bde6d | |||
766b2ebfd0 | |||
6a8b1e2628 | |||
932159b238 | |||
135739da10 | |||
3ef69c527b | |||
f1a47aa620 | |||
9e2ce6b967 | |||
3d06a59303 | |||
a0c6074358 | |||
4afdf95b44 | |||
ccbe4de116 | |||
b3001c56ff | |||
89ffe20aee | |||
5c25ab9d3d | |||
02a2ec72c0 | |||
d4f4b6217e | |||
720346e9d7 | |||
68e0652872 | |||
b81db4fc0f | |||
f2ac689f85 | |||
2367651a7e | |||
b8b267d4c5 | |||
c377995a1d | |||
e223fd99a3 | |||
5beadf9f35 | |||
68fcb3cbef | |||
4381a2d350 | |||
89eec1edec | |||
3db235a532 | |||
24337f3a13 | |||
04988e43dd | |||
f94f3e82e8 | |||
cb5d306478 | |||
abaa41345a | |||
573ab3d2cb | |||
c2795cd76c | |||
4b9900a7fd | |||
f46dacad9d | |||
0488b3402d | |||
fad6fe1c2a | |||
2789af0bd7 | |||
91da0dedb6 | |||
8d3c4987f0 | |||
ce899a9480 | |||
22d1220a14 | |||
eb11f51348 | |||
8be9a0749a | |||
0bd09b8cbd | |||
ff5442c869 | |||
4cb5100065 | |||
055119eeb5 | |||
75df5099e9 | |||
c084972d39 | |||
72f7960369 | |||
00e0a17249 | |||
bfa65c999e |
1
.env
1
.env
@@ -10,3 +10,4 @@ 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
|
||||||
|
@@ -27,6 +27,9 @@ services:
|
|||||||
-Dsolr.host=search
|
-Dsolr.host=search
|
||||||
-Dsolr.secureComms=secret
|
-Dsolr.secureComms=secret
|
||||||
-Dsolr.sharedSecret=alfresco-secret
|
-Dsolr.sharedSecret=alfresco-secret
|
||||||
|
-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}
|
||||||
@@ -50,10 +53,27 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- postgres-acs
|
- postgres-acs
|
||||||
- activemq
|
- activemq
|
||||||
|
volumes:
|
||||||
|
- acsbin-volume:/usr/local/tomcat/alf_data:rw
|
||||||
|
|
||||||
transform-core-aio:
|
transform-core-aio:
|
||||||
image: alfresco/alfresco-transform-core-aio:${ATE_AIO_TAG}
|
image: alfresco/alfresco-transform-core-aio:${ATE_AIO_TAG}
|
||||||
|
|
||||||
|
share:
|
||||||
|
image: alfresco/alfresco-share:${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:
|
||||||
@@ -61,6 +81,8 @@ services:
|
|||||||
POSTGRES_USER: alfresco
|
POSTGRES_USER: alfresco
|
||||||
POSTGRES_DB: alfresco
|
POSTGRES_DB: alfresco
|
||||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
|
volumes:
|
||||||
|
- acsdb-volume:/var/lib/postgresql/data:rw
|
||||||
|
|
||||||
search:
|
search:
|
||||||
image: alfresco/alfresco-search-services:${ASIE_TAG}
|
image: alfresco/alfresco-search-services:${ASIE_TAG}
|
||||||
@@ -74,6 +96,8 @@ services:
|
|||||||
"
|
"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "curl -fsS http://localhost:8983/solr"
|
test: "curl -fsS http://localhost:8983/solr"
|
||||||
|
volumes:
|
||||||
|
- solrindex-volume:/opt/alfresco-search-services/data:rw
|
||||||
|
|
||||||
activemq:
|
activemq:
|
||||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
||||||
@@ -81,11 +105,24 @@ services:
|
|||||||
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
||||||
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
||||||
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
||||||
|
volumes:
|
||||||
|
- activemq-volume:/opt/activemq/data:rw
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
acsbin-volume:
|
||||||
|
driver: local
|
||||||
|
acsdb-volume:
|
||||||
|
driver: local
|
||||||
|
activemq-volume:
|
||||||
|
driver: local
|
||||||
|
solrindex-volume:
|
||||||
|
driver: local
|
||||||
|
@@ -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