Compare commits

..

56 Commits

Author SHA1 Message Date
3b031f173a Merge branch 'acs-aims' into adw-backend 2023-11-01 14:30:53 -04:00
ed887b8294 Merge branch 'acs-aims' into adw-backend 2023-11-01 10:45:40 -04:00
4c0a97f847 Merge branch 'aps-aims' into adw-backend 2023-11-01 10:45:32 -04:00
002ecfd466 fix identity integration 2023-11-01 10:41:33 -04:00
bec3617563 Merge branch 'aims' into aps-aims 2023-11-01 10:40:58 -04:00
1655c7f1f4 Merge branch 'acs-aims' into adw-backend 2023-10-26 15:24:40 -04:00
cb894f5f5f Merge branch 'aps-aims' into adw-backend 2023-10-26 15:22:03 -04:00
6aafbbfd63 Merge branch 'aims' into adw-backend 2023-10-26 14:30:19 -04:00
4a48e807c5 Merge branch 'acs-backend' into adw-backend 2023-10-26 14:30:02 -04:00
dc318d141e Merge branch 'aims' into aps-aims 2023-10-26 14:18:14 -04:00
d0593febf2 Merge branch 'aps' into aps-aims 2023-10-26 14:17:44 -04:00
b54b94839d Merge branch 'aps' into adw-backend 2023-10-26 14:16:50 -04:00
76f18e1a60 Merge branch 'aps-base' into aps 2023-10-26 14:14:33 -04:00
6aa3731165 removed mem_limit from proxy 2023-10-26 14:14:26 -04:00
78f2ed24c6 removed more activiti-admin 2023-10-26 10:57:48 -04:00
fbefed1ff1 Merge branch 'aims' into adw-backend 2023-10-26 10:56:48 -04:00
7f06015d81 removed activiti-admin 2023-10-26 10:41:16 -04:00
8b9d766380 Merge branch 'aps' into adw-backend 2023-10-26 10:40:25 -04:00
82864c1955 added license file README 2023-10-26 08:52:41 -04:00
f64a0e29d9 Merge branch 'aims' into aps-aims 2023-10-25 20:03:27 -04:00
d4362a2bcd Merge branch 'aps' into aps-aims 2023-10-25 19:48:28 -04:00
8901d10f82 Merge branch 'aps-base' into aps 2023-10-25 18:39:33 -04:00
e0e190d987 APS v2.4.1 2023-10-25 18:33:38 -04:00
fc8a854920 removed elasticsearch 2023-10-25 18:32:39 -04:00
7e526e0e1e Merge branch 'proxy' into aps-base 2023-10-25 18:29:28 -04:00
6126155ca0 Merge branch 'aims' into aps-aims 2022-11-01 17:49:21 -04:00
b115f86a6d Merge branch 'aps' into aps-aims 2022-11-01 17:48:56 -04:00
4e85d8118c fixed APS license location 2022-11-01 17:14:49 -04:00
1279c5aeba Merge branch 'aps-base' into aps 2022-11-01 17:09:22 -04:00
dd967a17f2 parameterized APS versions 2022-11-01 17:06:07 -04:00
27a818fd22 Merge branch 'proxy' into aps-base 2022-11-01 17:00:56 -04:00
cecbf32b68 Merge branch 'aps' into aps-aims 2021-07-30 16:47:25 -04:00
6608b0600c Merge branch 'aims' into aps-aims 2021-07-30 16:46:52 -04:00
dee72646e6 updated APS memory limit mins 2021-07-30 16:32:57 -04:00
97b9237171 added activiti-app redirect URI 2021-07-06 17:19:40 -04:00
d7c28f9b6e changed URLs to use split envvars 2021-06-22 09:26:41 -04:00
924c687250 Merge branch 'aims' into aps-aims 2021-06-22 09:25:56 -04:00
995fbfb13f Merge branch 'aims' into aps-aims 2021-05-06 14:20:07 -04:00
1929c94880 configured aps for aims 2021-04-19 08:51:12 -04:00
7590f2d390 Merge branch 'aps-base' into aps 2021-04-19 08:26:27 -04:00
2d91d8bc08 renamed proxy from acs to aps 2021-04-19 08:26:13 -04:00
1bd9da2339 Merge remote-tracking branch 'origin/aims' into aps-aims 2021-04-19 08:24:15 -04:00
brian
8b7ec4654e Merge branch 'aps-base' into aps 2021-04-02 09:13:16 -04:00
6e0c055222 Merge branch 'proxy' into aps-base 2021-04-02 09:06:48 -04:00
brian
9dd046ad51 Merge branch 'aps-base' into aps 2021-01-13 16:16:27 -05:00
20b41bbcb1 corrected misspelling 2021-01-13 15:39:02 -05:00
89348916a5 Merge branch 'aps-base' into aps 2021-01-13 15:37:13 -05:00
a2619fac7b fixed license directory var 2021-01-13 15:37:06 -05:00
3a47c43a88 Merge branch 'aps-base' into aps 2021-01-13 15:32:16 -05:00
16aa444b19 removed excess file mapping 2021-01-13 15:32:03 -05:00
deb6bf058c Merge branch 'aps-base' into aps 2021-01-13 15:23:44 -05:00
8a0ccc61a5 backported some stuff from aps to aps-base 2021-01-13 15:22:30 -05:00
695e3b3dc0 fixed after testing 2021-01-13 15:20:03 -05:00
2b7755222b added versions and config to APS 2021-01-13 14:42:41 -05:00
237a8abd62 fixed proxy depends_on 2021-01-13 14:33:11 -05:00
f28c16c4fe initial aps base 2021-01-13 14:32:12 -05:00
5 changed files with 43 additions and 38 deletions

3
.env
View File

@@ -10,8 +10,9 @@ 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
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

View File

@@ -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.

View File

@@ -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}
@@ -65,31 +62,6 @@ services:
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}
-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}
environment: environment:
@@ -118,6 +90,31 @@ 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: http://identity:8080/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: identity:
image: alfresco/alfresco-identity-service:${AIS_TAG} image: alfresco/alfresco-identity-service:${AIS_TAG}
user: jboss user: jboss
@@ -142,10 +139,10 @@ services:
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress
image: local/nginx-ingress:acs-share-aims image: local/nginx-ingress:acs-aps-aims
ports: ports:
- 8080:8080 - 8080:8080
depends_on: depends_on:
- platform - platform
- share - activiti-app
- identity - identity

View File

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

View File

@@ -47,15 +47,15 @@ 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 /share/ {
proxy_pass http://share:8080;
}
location /auth/ { location /auth/ {
proxy_pass http://identity:8080; proxy_pass http://identity:8080;