Compare commits

..

38 Commits

Author SHA1 Message Date
f5c4b00a02 ACS sync v3.9.0 2023-10-25 20:17:44 -04:00
9e4577222b Merge branch 'acs-base' into acs-sync-base 2023-10-25 20:16:30 -04:00
57af0a20b1 ACS v7.4.1.1 2023-10-25 20:11:15 -04:00
76e4287aa1 Merge branch 'proxy' into acs-base 2023-10-25 20:08:28 -04:00
b3a9145dd6 parameterized sync service version 2022-11-01 15:00:53 -04:00
08ce9f6cc8 Merge branch 'acs-base' into acs-sync-base 2022-11-01 14:57:20 -04:00
8e3301877a parameterized docker image tags 2022-11-01 14:51:11 -04:00
8b4e45c2e2 Merge branch 'proxy' into acs-base 2022-11-01 14:49:06 -04:00
29f254a68e updated to ACS v7.3.0 2022-11-01 14:19:58 -04:00
brian
f10722dec9 Merge branch 'acs-base' into acs-sync-base 2021-04-02 09:13:22 -04:00
6bce626075 Merge branch 'proxy' into acs-base 2021-04-02 08:42:43 -04:00
15ccb5642b using proxy values for sync url 2021-01-13 09:59:21 -05:00
a56556b596 Merge branch 'acs-base.proxy' into acs-sync-base.acs-base 2021-01-06 15:54:27 -05:00
ebd6c503bd Merge branch 'proxy.base' into acs-base.proxy 2021-01-06 12:21:58 -05:00
1d5624496d renamed proxy variables to match changes to proxy branch 2020-12-26 13:55:19 -05:00
3a6b5c4850 Merge commit '817b062dfddd1035aa68554f55065c042607c482' into acs-base.proxy 2020-12-26 13:54:44 -05:00
c0c6dcd1ce remove share context; moving to acs-share-base 2020-12-26 13:51:23 -05:00
3cb24f7587 added proxy config to platform 2020-12-26 11:18:58 -05:00
6579a5a0c9 Merge branch 'proxy.base' into acs-base.proxy 2020-12-26 11:16:07 -05:00
1ead7a8d16 added alf-specific variables back to docker-compose env in the right branch 2020-12-26 11:13:00 -05:00
63aa212ccb Merge branch 'proxy.base' into acs-base.proxy 2020-12-26 11:11:48 -05:00
6d396a640f added JDBC driver to base config 2020-12-26 11:06:07 -05:00
b1f3b14846 Merge branch 'acs-base.proxy' into acs-sync-base.acs-base 2020-12-25 23:37:08 -05:00
9720bd7fa6 Merge branch 'proxy.base' into acs-base.proxy 2020-12-25 23:08:53 -05:00
0b507962fa added sync service config 2020-12-17 17:41:47 -05:00
46bbeeef30 fixed missed envvar 2020-12-17 16:29:36 -05:00
6b0c103d75 added depends_on for proxy 2020-12-17 16:24:34 -05:00
faee3aaa48 Merge branch 'acs-proxy.proxy' into acs-base.acs-proxy 2020-12-17 16:20:23 -05:00
beb87dd97a Merge branch 'proxy.base' into acs-proxy.proxy 2020-12-17 16:20:12 -05:00
db6a1e148c Merge branch 'acs-proxy.proxy' into acs-base.acs-proxy 2020-12-17 16:16:57 -05:00
ab396f7656 changed version to 'acs' 2020-12-17 16:16:44 -05:00
b65d3d301f Merge branch 'acs-proxy.proxy' into acs-base.acs-proxy 2020-12-17 16:16:07 -05:00
6332985ebd removed proxy 2020-12-17 16:09:48 -05:00
010149e6b6 added platform config 2020-12-17 16:07:17 -05:00
79a1644530 more corrections to service names and addressing additions 2020-12-17 12:46:24 -05:00
5cfee3d18f updated service names 2020-12-17 12:31:55 -05:00
6c665fab04 added depends_on for the alfresco service 2020-12-16 23:55:56 -05:00
0f36dd1943 added minimum unconfigured ACS services to Docker Compose 2020-12-16 23:34:34 -05:00
5 changed files with 53 additions and 63 deletions

4
.env
View File

@@ -5,5 +5,7 @@ PROXY_PROTOCOL=http
PROXY_HOST=localhost PROXY_HOST=localhost
PROXY_PORT=8080 PROXY_PORT=8080
APS_TAG=2.4.1 ACS_TAG=7.4.1.1
AAMQ_TAG=latest
POSTGRES_TAG=13 POSTGRES_TAG=13
ALF_SYNC_SERV_TAG=3.9.0

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

@@ -4,56 +4,54 @@ version: "3"
services: services:
activiti-app: platform:
image: quay.io/alfresco/alfresco-process-services:${APS_TAG} image: alfresco/alfresco-content-repository-community:${ACS_TAG}
environment: environment:
ACTIVITI_DATASOURCE_USERNAME: alfresco JAVA_TOOL_OPTIONS: "
ACTIVITI_DATASOURCE_PASSWORD: alfresco -Dencryption.keystore.type=JCEKS
ACTIVITI_DATASOURCE_DRIVER: org.postgresql.Driver -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
ACTIVITI_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect -Dencryption.keyAlgorithm=DESede
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8' -Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
JAVA_OPTS: "-Xms128m -Xmx256m" -Dmetadata-keystore.password=mp6yc0UD9e
-Dmetadata-keystore.aliases=metadata
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
-Dmetadata-keystore.metadata.algorithm=DESede"
JAVA_OPTS: "
-Ddb.driver=org.postgresql.Driver
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
-Dalfresco.host=${PROXY_HOST}
-Dalfresco.port=${PROXY_PORT}
-Dalfresco.protocol=${PROXY_PROTOCOL}
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
-Ddsync.service.uris=${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/sync
"
depends_on: depends_on:
- postgres-aps - postgres-acs
volumes: - activemq
- "$ALFRESCO_LICENSE_DIR/aps:/home/alfresco/.activiti/enterprise-license:ro"
activiti-admin: postgres-acs:
image: quay.io/alfresco/alfresco-process-services-admin:${APS_TAG} image: postgres:${POSTGRES_TAG}
activemq:
image: alfresco/alfresco-activemq:${AAMQ_TAG}
sync:
image: quay.io/alfresco/service-sync:${ALF_SYNC_SERV_TAG}
environment: environment:
ACTIVITI_ADMIN_DATASOURCE_USERNAME: alfresco JAVA_OPTS : "
ACTIVITI_ADMIN_DATASOURCE_PASSWORD: alfresco -Dsql.db.url=jdbc:postgresql://postgres-acs:5432/alfresco
ACTIVITI_ADMIN_DATASOURCE_DRIVER: org.postgresql.Driver -Dmessaging.broker.host=activemq
ACTIVITI_ADMIN_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect -Drepo.hostname=platform
ACTIVITI_ADMIN_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps-admin:5432/activiti-admin?characterEncoding=UTF-8' "
ACTIVITI_ADMIN_REST_APP_HOST: http://activiti-app
ACTIVITI_ADMIN_REST_APP_PORT: 8080
JAVA_OPTS: "-Xms64m -Xmx128m"
depends_on: depends_on:
- postgres-aps-admin - postgres-acs
- activiti-app - activemq
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
postgres-aps-admin:
image: postgres:${POSTGRES_TAG}
environment:
POSTGRES_DB: activiti-admin
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
command: postgres -c max_connections=50 -c log_min_messages=LOG
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress
image: local/nginx-ingress:aps image: local/nginx-ingress:acs-sync
ports: ports:
- 8080:8080 - 8080:8080
depends_on: depends_on:
- activiti-app - platform
- activiti-admin - sync

View File

@@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
if [[ $APS_APP_URL ]]; then if [[ $ACS_PLATFORM_URL ]]; then
sed -i s%http:\/\/activiti-app:8080%"$APS_APP_URL"%g /etc/nginx/nginx.conf sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
fi fi
if [[ $APS_ADMIN_URL ]]; then if [[ $ACS_SYNC_URL ]]; then
sed -i s%http:\/\/activiti-admin:8080%"$APS_ADMIN_URL"%g /etc/nginx/nginx.conf sed -i s%http:\/\/sync:9090%"$ACS_SYNC_URL"%g /etc/nginx/nginx.conf
fi fi
if [[ $ACCESS_LOG ]]; then if [[ $ACCESS_LOG ]]; then

View File

@@ -39,21 +39,18 @@ http {
location ~ ^(/.*/s/prometheus)$ {return 403;} location ~ ^(/.*/s/prometheus)$ {return 403;}
location / { location / {
return 301 $scheme://$http_host/activiti-app; proxy_pass http://platform:8080;
} }
location /activiti-app/ { location /alfresco/ {
proxy_pass http://activiti-app:8080; proxy_pass http://platform: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 /activiti-admin/ { location /sync/ {
proxy_pass http://activiti-admin:8080; proxy_pass http://sync:9090/alfresco/;
# If using external proxy / load balancer (for initial redirect if no trailing slash)
absolute_redirect off;
} }
} }
} }