Compare commits
56 Commits
acs-aims-e
...
adw-backen
Author | SHA1 | Date | |
---|---|---|---|
3b031f173a | |||
ed887b8294 | |||
4c0a97f847 | |||
002ecfd466 | |||
bec3617563 | |||
1655c7f1f4 | |||
cb894f5f5f | |||
6aafbbfd63 | |||
4a48e807c5 | |||
dc318d141e | |||
d0593febf2 | |||
b54b94839d | |||
76f18e1a60 | |||
6aa3731165 | |||
78f2ed24c6 | |||
fbefed1ff1 | |||
7f06015d81 | |||
8b9d766380 | |||
82864c1955 | |||
f64a0e29d9 | |||
d4362a2bcd | |||
8901d10f82 | |||
e0e190d987 | |||
fc8a854920 | |||
7e526e0e1e | |||
6126155ca0 | |||
b115f86a6d | |||
4e85d8118c | |||
1279c5aeba | |||
dd967a17f2 | |||
27a818fd22 | |||
cecbf32b68 | |||
6608b0600c | |||
dee72646e6 | |||
97b9237171 | |||
d7c28f9b6e | |||
924c687250 | |||
995fbfb13f | |||
1929c94880 | |||
7590f2d390 | |||
2d91d8bc08 | |||
1bd9da2339 | |||
|
8b7ec4654e | ||
6e0c055222 | |||
|
9dd046ad51 | ||
20b41bbcb1 | |||
89348916a5 | |||
a2619fac7b | |||
3a47c43a88 | |||
16aa444b19 | |||
deb6bf058c | |||
8a0ccc61a5 | |||
695e3b3dc0 | |||
2b7755222b | |||
237a8abd62 | |||
f28c16c4fe |
7
.env
7
.env
@@ -9,13 +9,10 @@ IDENTITY_SERVICE_HOST=auth.example.org
|
|||||||
IDENTITY_SERVICE_PORT=8080
|
IDENTITY_SERVICE_PORT=8080
|
||||||
|
|
||||||
ACS_TAG=7.4.1.1
|
ACS_TAG=7.4.1.1
|
||||||
ATR_TAG=3.0.0
|
|
||||||
ATE_AIO_TAG=4.0.0
|
ATE_AIO_TAG=4.0.0
|
||||||
ASFS_TAG=3.0.0
|
|
||||||
AIS_TAG=1.8.0.1
|
|
||||||
AAMQ_TAG=latest
|
AAMQ_TAG=latest
|
||||||
POSTGRES_TAG=13
|
POSTGRES_TAG=13
|
||||||
ASIE_TAG=2.0.8.2
|
ASIE_TAG=2.0.8.2
|
||||||
|
APS_TAG=2.4.1
|
||||||
|
AIS_TAG=1.8.0.1
|
||||||
ACS_SHARE_TAG=7.4.1.2
|
ACS_SHARE_TAG=7.4.1.2
|
||||||
ALF_SYNC_SERV_TAG=3.9.0
|
|
||||||
ADW_TAG=4.1.0
|
|
||||||
|
@@ -3,3 +3,10 @@
|
|||||||
|
|
||||||
This Git Repository intends to represent environments in Docker Compose. All environments are effectively a derivative of other environments. The original environment is the environment represented by the `base` branch. All derivative environments are represented by other branches. Those branches are named in the format `{core}.{parent}`.
|
This Git Repository intends to represent environments in Docker Compose. All environments are effectively a derivative of other environments. The original environment is the environment represented by the `base` branch. All derivative environments are represented by other branches. Those branches are named in the format `{core}.{parent}`.
|
||||||
|
|
||||||
|
## Licensing
|
||||||
|
|
||||||
|
This version of Alfresco requires licensing.
|
||||||
|
|
||||||
|
### APS
|
||||||
|
|
||||||
|
APS requires a license file for it to work. For licensing to work, you must place your license file in the following directory relative to the user home directory that runs the Docker Compose command: `alfresco/license/aps`. The filename must be `activiti.lic`. You can use symbolic linking if desired.
|
||||||
|
@@ -5,7 +5,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
image: quay.io/alfresco/alfresco-content-repository:${ACS_TAG}
|
image: alfresco/alfresco-content-repository-community:${ACS_TAG}
|
||||||
environment:
|
environment:
|
||||||
JAVA_TOOL_OPTIONS: "
|
JAVA_TOOL_OPTIONS: "
|
||||||
-Dencryption.keystore.type=JCEKS
|
-Dencryption.keystore.type=JCEKS
|
||||||
@@ -27,28 +27,23 @@ 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}
|
||||||
-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=true
|
-Dcors.enabled=true
|
||||||
-Dcors.allowed.origins=http://localhost:4200,http://localhost:8080,${PROXY_PROTOCOL}://${PROXY_HOST}
|
-Dcors.allowed.origins=http://localhost:4200,http://localhost:8080,${PROXY_PROTOCOL}://${PROXY_HOST}
|
||||||
-Dtransform.service.enabled=true
|
-Dtransform.service.enabled=false
|
||||||
-Dtransform.service.url=http://transform-router:8095
|
|
||||||
-Dsfs.url=http://shared-file-store:8099
|
|
||||||
-Dlocal.transform.service.enabled=true
|
-Dlocal.transform.service.enabled=true
|
||||||
-Dalfresco-pdf-renderer.url=http://transform-engine-aio:8090
|
|
||||||
-Djodconverter.url=http://transform-engine-aio:8090
|
|
||||||
-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
|
|
||||||
-Dauthentication.chain=aims:identity-service,builtin:alfrescoNtlm
|
-Dauthentication.chain=aims:identity-service,builtin:alfrescoNtlm
|
||||||
-Didentity-service.authentication.defaultAdministratorUserNames=admin.1
|
-Didentity-service.authentication.defaultAdministratorUserNames=admin.1
|
||||||
-Didentity-service.auth-server-url=http://identity:8080/auth
|
-Didentity-service.auth-server-url=http://identity:8080/auth
|
||||||
@@ -61,61 +56,11 @@ services:
|
|||||||
condition: service_started
|
condition: service_started
|
||||||
activemq:
|
activemq:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
shared-file-store:
|
|
||||||
condition: service_started
|
|
||||||
identity:
|
identity:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
|
||||||
- "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro"
|
|
||||||
|
|
||||||
transform-router:
|
|
||||||
image: quay.io/alfresco/alfresco-transform-router:${ATR_TAG}
|
|
||||||
environment:
|
|
||||||
ACTIVEMQ_URL: "nio://activemq:61616"
|
|
||||||
CORE_AIO_URL : "http://transform-core-aio:8090"
|
|
||||||
FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
|
|
||||||
depends_on:
|
|
||||||
- activemq
|
|
||||||
- shared-file-store
|
|
||||||
|
|
||||||
transform-core-aio:
|
transform-core-aio:
|
||||||
image: alfresco/alfresco-transform-core-aio:${ATE_AIO_TAG}
|
image: alfresco/alfresco-transform-core-aio:${ATE_AIO_TAG}
|
||||||
environment:
|
|
||||||
ACTIVEMQ_URL: "nio://activemq:61616"
|
|
||||||
FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
|
|
||||||
depends_on:
|
|
||||||
- activemq
|
|
||||||
- shared-file-store
|
|
||||||
|
|
||||||
shared-file-store:
|
|
||||||
image: quay.io/alfresco/alfresco-shared-file-store:${ASFS_TAG}
|
|
||||||
volumes:
|
|
||||||
- shared-file-store-volume:/tmp/Alfresco/sfs
|
|
||||||
|
|
||||||
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}
|
|
||||||
-Daims.enabled=true
|
|
||||||
-Daims.realm=alfresco
|
|
||||||
-Daims.resource=acs-share
|
|
||||||
-Daims.authServerUrl=${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
|
|
||||||
-Daims.sslRequired=none
|
|
||||||
-Daims.publicClient=true
|
|
||||||
-Daims.autodetectBearerOnly=true
|
|
||||||
-Daims.alwaysRefreshToken=true
|
|
||||||
-Daims.principalAttribute=preferred_username
|
|
||||||
-Daims.enableBasicAuth=true
|
|
||||||
"
|
|
||||||
|
|
||||||
postgres-acs:
|
postgres-acs:
|
||||||
image: postgres:${POSTGRES_TAG}
|
image: postgres:${POSTGRES_TAG}
|
||||||
@@ -145,38 +90,30 @@ services:
|
|||||||
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
||||||
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
||||||
|
|
||||||
sync:
|
activiti-app:
|
||||||
image: quay.io/alfresco/service-sync:${ALF_SYNC_SERV_TAG}
|
image: quay.io/alfresco/alfresco-process-services:${APS_TAG}
|
||||||
environment:
|
environment:
|
||||||
JAVA_OPTS : "
|
ACTIVITI_DATASOURCE_USERNAME: alfresco
|
||||||
-Xms64m -Xmx256m
|
ACTIVITI_DATASOURCE_PASSWORD: alfresco
|
||||||
-Dsql.db.driver=org.postgresql.Driver
|
ACTIVITI_DATASOURCE_DRIVER: org.postgresql.Driver
|
||||||
-Dsql.db.url=jdbc:postgresql://postgres-acs:5432/alfresco
|
ACTIVITI_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
|
||||||
-Dsql.db.username=alfresco
|
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8'
|
||||||
-Dsql.db.password=alfresco
|
IDENTITY_SERVICE_ENABLED: "true"
|
||||||
-Dmessaging.broker.host=activemq
|
IDENTITY_SERVICE_AUTH: http://identity:8080/auth
|
||||||
-Drepo.hostname=platform
|
IDENTITY_SERVICE_CONTENT_SSO_REDIRECT_URI: ${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/activiti-app/app/rest/integration/sso/confirm-auth-request
|
||||||
-Drepo.port=8080
|
JAVA_OPTS: "-Xms128m -Xmx256m"
|
||||||
-Ddw.server.applicationConnectors[0].type=http
|
|
||||||
-Didentity-service.auth-server-url=${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
|
|
||||||
-Didentity-service.resource=acs-sync
|
|
||||||
"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-acs
|
- postgres-aps
|
||||||
- activemq
|
volumes:
|
||||||
|
- "$ALFRESCO_LICENSE_DIR/aps:/home/alfresco/.activiti/enterprise-license:ro"
|
||||||
|
|
||||||
digital-workspace:
|
postgres-aps:
|
||||||
image: quay.io/alfresco/alfresco-digital-workspace:${ADW_TAG}
|
image: postgres:${POSTGRES_TAG}
|
||||||
environment:
|
environment:
|
||||||
BASE_PATH: ./
|
POSTGRES_DB: activiti
|
||||||
APP_CONFIG_ECM_HOST: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}"
|
POSTGRES_USER: alfresco
|
||||||
APP_BASE_SHARE_URL: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/#/preview/s"
|
POSTGRES_PASSWORD: alfresco
|
||||||
APP_CONFIG_AUTH_TYPE: OAUTH
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
APP_CONFIG_OAUTH2_HOST: "${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth/realms/alfresco"
|
|
||||||
APP_CONFIG_OAUTH2_CLIENTID: alfresco
|
|
||||||
APP_CONFIG_OAUTH2_IMPLICIT_FLOW: "true"
|
|
||||||
APP_CONFIG_OAUTH2_REDIRECT_LOGIN: "/workspace/"
|
|
||||||
APP_CONFIG_OAUTH2_REDIRECT_LOGOUT: "/workspace/logout"
|
|
||||||
|
|
||||||
identity:
|
identity:
|
||||||
image: alfresco/alfresco-identity-service:${AIS_TAG}
|
image: alfresco/alfresco-identity-service:${AIS_TAG}
|
||||||
@@ -202,18 +139,10 @@ services:
|
|||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
image: local/nginx-ingress:acs-sync-share-adw-aims
|
image: local/nginx-ingress:acs-aps-aims
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- platform
|
- platform
|
||||||
- sync
|
- activiti-app
|
||||||
- share
|
|
||||||
- digital-workspace
|
|
||||||
- identity
|
- identity
|
||||||
|
|
||||||
volumes:
|
|
||||||
shared-file-store-volume:
|
|
||||||
driver_opts:
|
|
||||||
type: tmpfs
|
|
||||||
device: tmpfs
|
|
||||||
|
@@ -42,24 +42,6 @@
|
|||||||
"attributes": {
|
"attributes": {
|
||||||
"login_theme": "alfresco"
|
"login_theme": "alfresco"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"clientId": "acs-sync",
|
|
||||||
"name": "Alfresco Sync Service Clients",
|
|
||||||
"enabled": true,
|
|
||||||
"alwaysDisplayInConsole": false,
|
|
||||||
"redirectUris": [
|
|
||||||
"http://127.0.0.1*",
|
|
||||||
"http://localhost*"
|
|
||||||
],
|
|
||||||
"standardFlowEnabled": true,
|
|
||||||
"implicitFlowEnabled": false,
|
|
||||||
"directAccessGrantsEnabled": false,
|
|
||||||
"publicClient": true,
|
|
||||||
"protocol": "openid-connect",
|
|
||||||
"attributes": {
|
|
||||||
"login_theme": "alfresco"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"requiredCredentials": [ "password" ],
|
"requiredCredentials": [ "password" ],
|
||||||
|
@@ -4,16 +4,8 @@ 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_SYNC_URL ]]; then
|
if [[ $APS_APP_URL ]]; then
|
||||||
sed -i s%http:\/\/sync:9090%"$ACS_SYNC_URL"%g /etc/nginx/nginx.conf
|
sed -i s%http:\/\/activiti-app:8080%"$APS_APP_URL"%g /etc/nginx/nginx.conf
|
||||||
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
|
fi
|
||||||
|
|
||||||
if [[ $AIMS_URL ]]; then
|
if [[ $AIMS_URL ]]; then
|
||||||
|
@@ -47,21 +47,10 @@ http {
|
|||||||
|
|
||||||
location /alfresco/ {
|
location /alfresco/ {
|
||||||
proxy_pass http://platform:8080;
|
proxy_pass http://platform:8080;
|
||||||
|
|
||||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
|
||||||
absolute_redirect off;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /sync/ {
|
location /activiti-app/ {
|
||||||
proxy_pass http://sync:9090/alfresco/;
|
proxy_pass http://activiti-app:8080;
|
||||||
}
|
|
||||||
|
|
||||||
location /share/ {
|
|
||||||
proxy_pass http://share:8080;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /workspace/ {
|
|
||||||
proxy_pass http://digital-workspace:8080/;
|
|
||||||
|
|
||||||
# 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;
|
||||||
|
Reference in New Issue
Block a user