Compare commits
48 Commits
ags-fronte
...
acs-backen
Author | SHA1 | Date | |
---|---|---|---|
07071281a9 | |||
f6db89c22a | |||
b7bba65f41 | |||
2d292ade40 | |||
9af50009c1 | |||
f7c664e7f4 | |||
c9b136e201 | |||
d09c72702a | |||
4a165744ee | |||
a24bf1b647 | |||
6d56f610a7 | |||
4748d0e7b6 | |||
299d2fe04d | |||
8a7d6d2016 | |||
97ced2653d | |||
e62b0838f2 | |||
|
230e7fcf5e | ||
|
180e642ce3 | ||
|
38def362f6 | ||
|
f3d3293e9e | ||
|
2c82f844b1 | ||
|
b805fbbd1a | ||
|
b7c883068a | ||
|
a140d6806f | ||
|
3409eb4eec | ||
c7378dd9c2 | |||
53404852e1 | |||
75743d2391 | |||
6a8b1e2628 | |||
932159b238 | |||
135739da10 | |||
02a2ec72c0 | |||
720346e9d7 | |||
68e0652872 | |||
b81db4fc0f | |||
c377995a1d | |||
e223fd99a3 | |||
5beadf9f35 | |||
24337f3a13 | |||
04988e43dd | |||
f94f3e82e8 | |||
cb5d306478 | |||
abaa41345a | |||
0488b3402d | |||
fad6fe1c2a | |||
2789af0bd7 | |||
91da0dedb6 | |||
8d3c4987f0 |
2
.env
2
.env
@@ -12,6 +12,4 @@ ASFS_TAG=3.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
|
|
||||||
ALF_SYNC_SERV_TAG=3.9.0
|
ALF_SYNC_SERV_TAG=3.9.0
|
||||||
ADW_TAG=4.1.0
|
|
||||||
|
@@ -5,7 +5,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
image: quay.io/alfresco/alfresco-governance-repository-enterprise:${ACS_TAG}
|
image: quay.io/alfresco/alfresco-content-repository:${ACS_TAG}
|
||||||
environment:
|
environment:
|
||||||
JAVA_TOOL_OPTIONS: "
|
JAVA_TOOL_OPTIONS: "
|
||||||
-Dencryption.keystore.type=JCEKS
|
-Dencryption.keystore.type=JCEKS
|
||||||
@@ -27,9 +27,6 @@ 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}
|
||||||
@@ -58,6 +55,7 @@ services:
|
|||||||
- shared-file-store
|
- shared-file-store
|
||||||
volumes:
|
volumes:
|
||||||
- "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro"
|
- "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro"
|
||||||
|
- acsbin-volume:/usr/local/tomcat/alf_data:rw
|
||||||
|
|
||||||
transform-router:
|
transform-router:
|
||||||
image: quay.io/alfresco/alfresco-transform-router:${ATR_TAG}
|
image: quay.io/alfresco/alfresco-transform-router:${ATR_TAG}
|
||||||
@@ -83,21 +81,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- shared-file-store-volume:/tmp/Alfresco/sfs
|
- shared-file-store-volume:/tmp/Alfresco/sfs
|
||||||
|
|
||||||
share:
|
|
||||||
image: quay.io/alfresco/alfresco-governance-share-enterprise:${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:
|
||||||
@@ -105,6 +88,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}
|
||||||
@@ -118,6 +103,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}
|
||||||
@@ -125,6 +112,8 @@ 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
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
image: quay.io/alfresco/service-sync:${ALF_SYNC_SERV_TAG}
|
image: quay.io/alfresco/service-sync:${ALF_SYNC_SERV_TAG}
|
||||||
@@ -144,26 +133,25 @@ services:
|
|||||||
- postgres-acs
|
- postgres-acs
|
||||||
- activemq
|
- activemq
|
||||||
|
|
||||||
digital-workspace:
|
|
||||||
image: quay.io/alfresco/alfresco-digital-workspace:${ADW_TAG}
|
|
||||||
environment:
|
|
||||||
BASE_PATH: ./
|
|
||||||
APP_CONFIG_ECM_HOST: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}"
|
|
||||||
APP_BASE_SHARE_URL: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/#/preview/s"
|
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
image: local/nginx-ingress:acs-sync-share-adw
|
image: local/nginx-ingress:acs-sync
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- platform
|
- platform
|
||||||
- sync
|
- sync
|
||||||
- share
|
|
||||||
- digital-workspace
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
shared-file-store-volume:
|
shared-file-store-volume:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: tmpfs
|
type: tmpfs
|
||||||
device: tmpfs
|
device: tmpfs
|
||||||
|
acsbin-volume:
|
||||||
|
driver: local
|
||||||
|
acsdb-volume:
|
||||||
|
driver: local
|
||||||
|
activemq-volume:
|
||||||
|
driver: local
|
||||||
|
solrindex-volume:
|
||||||
|
driver: local
|
||||||
|
@@ -8,14 +8,6 @@ if [[ $ACS_SYNC_URL ]]; then
|
|||||||
sed -i s%http:\/\/sync:9090%"$ACS_SYNC_URL"%g /etc/nginx/nginx.conf
|
sed -i s%http:\/\/sync:9090%"$ACS_SYNC_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 [[ $ADW_URL ]]; then
|
|
||||||
sed -i s%http:\/\/digital-workspace:8080%"$ADW_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
|
||||||
|
@@ -52,19 +52,5 @@ http {
|
|||||||
location /sync/ {
|
location /sync/ {
|
||||||
proxy_pass http://sync:9090/alfresco/;
|
proxy_pass http://sync:9090/alfresco/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /share/ {
|
|
||||||
proxy_pass http://share:8080;
|
|
||||||
|
|
||||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
|
||||||
absolute_redirect off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /workspace/ {
|
|
||||||
proxy_pass http://digital-workspace:8080/;
|
|
||||||
|
|
||||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
|
||||||
absolute_redirect off;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user