Compare commits

..

41 Commits

Author SHA1 Message Date
5d4cce1bf9 Merge branch 'ags-backend' into ags-frontend 2023-10-26 14:44:05 -04:00
4a9ebc7b0a Merge branch 'acs-frontend' into ags-frontend 2023-10-26 14:44:00 -04:00
84d01d1307 Merge branch 'acs-backend' into ags-backend 2023-10-26 14:42:16 -04:00
593bb02293 Merge branch 'ags' into ags-backend 2023-10-26 14:41:59 -04:00
31a89f370d Merge branch 'acs' into ags 2023-10-26 14:41:42 -04:00
2aa2cf6f64 Merge branch 'acs-backend' into acs-frontend 2023-10-26 14:35:58 -04:00
42da1404d0 Merge branch 'acs-frontend' into ags-frontend 2023-10-25 22:33:22 -04:00
bf0fdd7f90 Merge branch 'ags-backend' into ags-frontend 2023-10-25 22:33:00 -04:00
63f3cefc3a Merge branch 'ags' into ags-backend 2023-10-25 22:25:41 -04:00
26c48578a8 Merge branch 'acs-backend' into ags-backend 2023-10-25 22:25:35 -04:00
8a53f02159 Merge branch 'acs' into ags 2023-10-25 22:23:25 -04:00
eda5fa71e2 Merge branch 'acs-frontend' into ags-frontend 2022-11-01 17:35:52 -04:00
8fb51b3ac3 Merge branch 'ags-backend' into ags-frontend 2022-11-01 17:34:13 -04:00
8434976fd0 Merge branch 'acs-backend' into ags-backend 2022-11-01 17:24:58 -04:00
203d125bf2 Merge branch 'ags' into ags-backend 2022-11-01 17:24:03 -04:00
18889ab89d Merge branch 'acs' into ags 2022-11-01 17:20:40 -04:00
95d9a634d4 Merge branch 'acs-frontend' into ags-frontend 2021-07-30 16:16:49 -04:00
6d209e4633 Merge branch 'ags-backend' into ags-frontend 2021-07-30 16:16:37 -04:00
9fff0056dc Merge branch 'ags' into ags-backend 2021-07-30 16:11:49 -04:00
129437c927 Merge branch 'acs-backend' into ags-backend 2021-07-30 16:11:45 -04:00
da93d4ea48 increased AGS platform memory limit min 2021-07-30 15:55:53 -04:00
01a5d97ed7 Merge branch 'acs' into ags 2021-07-30 15:55:20 -04:00
brian
baf69f0fb3 Merge branch 'acs-frontend' into ags-frontend 2021-04-02 09:21:17 -04:00
brian
2d0e25fd06 Merge branch 'ags-backend' into ags-frontend 2021-04-02 09:21:16 -04:00
brian
926494b3ee Merge branch 'ags' into ags-backend 2021-04-02 09:14:34 -04:00
brian
9e49b1d3c1 Merge branch 'acs-backend' into ags-backend 2021-04-02 09:14:33 -04:00
brian
6e09a9c0c9 Merge branch 'acs' into ags 2021-04-02 09:13:52 -04:00
d753a42731 Merge branch 'acs-frontend.acs-backend' into ags-frontend.acs-frontend 2021-01-06 16:30:24 -05:00
bf6a3cb669 Merge branch 'ags-backend.acs-backend' into ags-frontend.ags-backend 2021-01-06 16:30:10 -05:00
24ea707337 Merge branch 'ags.acs' into ags-backend.ags 2021-01-06 16:29:50 -05:00
da0046118b Merge branch 'acs-backend.acs-lats' into ags-backend.acs-backend 2021-01-06 16:29:33 -05:00
0999563353 Merge branch 'acs.acs-base' into ags.acs 2021-01-06 16:27:44 -05:00
2134cda63a Merge branch 'acs-frontend-community.acs-backend-community' into ags-frontend-community.acs-frontend-community 2021-01-06 12:29:50 -05:00
4863e29854 Merge branch 'ags-community.acs-community' into ags-backend-community.ags-community 2021-01-06 12:24:27 -05:00
d96822cedd Merge branch 'acs-backend-community.acs-lats-community' into ags-backend-community.acs-backend-community 2021-01-06 12:24:18 -05:00
295b0711b0 Merge branch 'acs-community.acs-base' into ags-community.acs-community 2021-01-06 12:24:10 -05:00
eb09f26857 Merge branch 'acs-frontend-community.acs-backend-community' into ags-frontend-community.acs-frontend-community 2021-01-06 10:47:05 -05:00
9709aceaed switched share to AGS (no AMP module distributed anymore) 2021-01-06 10:31:26 -05:00
3686a6751d Merge branch 'acs-frontend-community.acs-share-base' into ags-frontend-community.acs-frontend-community 2021-01-06 10:28:33 -05:00
59d082734f Merge branch 'acs-backend-community.acs-lats-community' into ags-backend-community.ags-community 2021-01-06 10:26:33 -05:00
bc6a8539f3 switched platform to AGS (not AMP module distributed anymore) 2021-01-06 10:24:47 -05:00
6 changed files with 28 additions and 150 deletions

5
.env
View File

@@ -4,15 +4,10 @@ ALFRESCO_LICENSE_DIR=~/alfresco/license
PROXY_PROTOCOL=http PROXY_PROTOCOL=http
PROXY_HOST=localhost PROXY_HOST=localhost
PROXY_PORT=8080 PROXY_PORT=8080
IDENTITY_SERVICE_PROTOCOL=http
IDENTITY_SERVICE_HOST=auth.example.org
IDENTITY_SERVICE_PORT=8080
ACS_TAG=7.4.1.1 ACS_TAG=7.4.1.1
ATE_AIO_TAG=4.0.0 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
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

View File

@@ -3,10 +3,3 @@
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.

View File

@@ -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,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}
@@ -43,24 +46,32 @@ services:
-Dcors.enabled=false -Dcors.enabled=false
-Dtransform.service.enabled=false -Dtransform.service.enabled=false
-Dlocal.transform.service.enabled=true -Dlocal.transform.service.enabled=true
-Dauthentication.chain=aims:identity-service,builtin:alfrescoNtlm
-Didentity-service.authentication.defaultAdministratorUserNames=admin.1
-Didentity-service.auth-server-url=${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
-Dsystem.content.eagerOrphanCleanup=true -Dsystem.content.eagerOrphanCleanup=true
-Dsystem.content.orphanProtectDays=0 -Dsystem.content.orphanProtectDays=0
-Djodconverter.enabled=false -Djodconverter.enabled=false
" "
depends_on: depends_on:
postgres-acs: - postgres-acs
condition: service_started - activemq
activemq:
condition: service_started
identity:
condition: service_healthy
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-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:
@@ -89,59 +100,11 @@ services:
ACTIVEMQ_ADMIN_LOGIN: alfresco ACTIVEMQ_ADMIN_LOGIN: alfresco
ACTIVEMQ_ADMIN_PASSWORD: alfresco ACTIVEMQ_ADMIN_PASSWORD: alfresco
activiti-app:
image: quay.io/alfresco/alfresco-process-services:${APS_TAG}
environment:
ACTIVITI_DATASOURCE_USERNAME: alfresco
ACTIVITI_DATASOURCE_PASSWORD: alfresco
ACTIVITI_DATASOURCE_DRIVER: org.postgresql.Driver
ACTIVITI_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8'
IDENTITY_SERVICE_ENABLED: "true"
IDENTITY_SERVICE_AUTH: ${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
IDENTITY_SERVICE_CONTENT_SSO_REDIRECT_URI: ${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/activiti-app/app/rest/integration/sso/confirm-auth-request
JAVA_OPTS: "-Xms128m -Xmx256m"
depends_on:
- postgres-aps
volumes:
- "$ALFRESCO_LICENSE_DIR/aps:/home/alfresco/.activiti/enterprise-license:ro"
postgres-aps:
image: postgres:${POSTGRES_TAG}
environment:
POSTGRES_DB: activiti
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG
identity:
image: alfresco/alfresco-identity-service:${AIS_TAG}
user: jboss
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
KEYCLOAK_HOSTNAME: ${IDENTITY_SERVICE_HOST}
KEYCLOAK_IMPORT: /tmp/keycloak-alfresco-realm.json
KEYCLOAK_STATISTICS: enabled
networks:
default:
aliases:
- "${IDENTITY_SERVICE_HOST}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/auth/realms/alfresco"]
interval: 10s
timeout: 10s
# Really long startup times on Windows
retries: 18
volumes:
- ./keycloak-alfresco-realm.json:/tmp/keycloak-alfresco-realm.json:ro
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress
image: local/nginx-ingress:acs-aps-aims image: local/nginx-ingress:acs-share
ports: ports:
- 8080:8080 - 8080:8080
depends_on: depends_on:
- platform - platform
- activiti-app - share
- identity

View File

@@ -1,62 +0,0 @@
{
"realm": "alfresco",
"enabled": true,
"sslRequired": "external",
"registrationAllowed": false,
"roles": {
"realm": [ {
"name": "user",
"description": "User privileges"
}, {
"name": "admin",
"description": "Administrator privileges"
} ]
},
"clients": [
{
"clientId": "alfresco",
"name": "Alfresco Products",
"enabled": true,
"alwaysDisplayInConsole": false,
"redirectUris": [ "*" ],
"standardFlowEnabled": true,
"implicitFlowEnabled": true,
"directAccessGrantsEnabled": false,
"publicClient": true,
"protocol": "openid-connect",
"attributes": {
"login_theme": "alfresco"
}
},
{
"clientId": "acs-share",
"name": "ACS Share",
"enabled": true,
"alwaysDisplayInConsole": false,
"redirectUris": [ "*" ],
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false,
"publicClient": true,
"protocol": "openid-connect",
"attributes": {
"login_theme": "alfresco"
}
}
],
"requiredCredentials": [ "password" ],
"users": [
{
"username": "admin",
"email": "admin@app.activiti.com",
"enabled": true,
"credentials" : [
{
"type" : "password",
"value" : "admin"
}
],
"realmRoles": [ "user", "admin" ]
}
]
}

View File

@@ -4,12 +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 [[ $APS_APP_URL ]]; then if [[ $ACS_SHARE_URL ]]; then
sed -i s%http:\/\/activiti-app:8080%"$APS_APP_URL"%g /etc/nginx/nginx.conf sed -i s%http:\/\/share:8080%"$ACS_SHARE_URL"%g /etc/nginx/nginx.conf
fi
if [[ $AIMS_URL ]]; then
sed -i s%http:\/\/identity:8080%"$AIMS_URL"%g /etc/nginx/nginx.conf
fi fi
if [[ $ACCESS_LOG ]]; then if [[ $ACCESS_LOG ]]; then

View File

@@ -19,10 +19,7 @@ http {
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off; proxy_redirect off;
# proxy_buffering off; proxy_buffering off;
proxy_buffer_size 64k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -47,17 +44,13 @@ http {
location /alfresco/ { location /alfresco/ {
proxy_pass http://platform:8080; proxy_pass http://platform:8080;
}
location /activiti-app/ {
proxy_pass http://activiti-app: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;
} }
location /auth/ { location /share/ {
proxy_pass http://identity:8080; proxy_pass http://share: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;