Compare commits

..
Author SHA1 Message Date
brian.long c088f81a2b Merge branch 'acs-enterprise' into ags-enterprise 2023-10-26 14:42:48 -04:00
brian.long 5fc2127922 Merge branch 'ags' into ags-enterprise 2023-10-26 14:42:39 -04:00
brian.long 31a89f370d Merge branch 'acs' into ags 2023-10-26 14:41:42 -04:00
brian.long c0878c27f0 Merge branch 'acs' into acs-enterprise 2023-10-26 14:28:44 -04:00
brian.long df452d73a0 removed mem_limit from proxy 2023-10-26 14:13:48 -04:00
brian.long aa136e1f2f added license file README 2023-10-26 08:50:32 -04:00
brian.long fa90205f6f Merge branch 'ags' into ags-enterprise 2023-10-25 22:26:23 -04:00
brian.long 3d4f0640ab Merge branch 'acs-enterprise' into ags-enterprise 2023-10-25 22:26:19 -04:00
brian.long 8a53f02159 Merge branch 'acs' into ags 2023-10-25 22:23:25 -04:00
brian.long 38b5f8dc36 Merge branch 'acs' into acs-enterprise 2023-10-25 21:47:34 -04:00
brian.long ef221d9c7a Merge branch 'acs-base' into acs 2023-10-25 20:11:38 -04:00
brian.long 57af0a20b1 ACS v7.4.1.1 2023-10-25 20:11:15 -04:00
brian.long 76e4287aa1 Merge branch 'proxy' into acs-base 2023-10-25 20:08:28 -04:00
brian.long 241a3e47ea Merge branch 'base' into proxy 2023-10-25 18:07:00 -04:00
brian.long c2a9679ede update comment 2023-10-25 18:05:39 -04:00
brian.long 4336b63b85 Merge branch 'acs-enterprise' into ags-enterprise 2022-11-01 17:23:04 -04:00
brian.long df0a91920b Merge branch 'ags' into ags-enterprise 2022-11-01 17:22:19 -04:00
brian.long 18889ab89d Merge branch 'acs' into ags 2022-11-01 17:20:40 -04:00
brian.long 8fd11ed1d6 Merge branch 'acs' into acs-enterprise 2022-11-01 16:26:33 -04:00
brian.long 7511eba729 added memory limit 2022-11-01 14:54:47 -04:00
brian.long 173de2375e Merge branch 'acs-base' into acs 2022-11-01 14:52:59 -04:00
brian.long 8e3301877a parameterized docker image tags 2022-11-01 14:51:11 -04:00
brian.long 8b4e45c2e2 Merge branch 'proxy' into acs-base 2022-11-01 14:49:06 -04:00
brian.long 9e1a819e8b Merge branch 'base' into proxy 2022-11-01 14:48:11 -04:00
brian.long 10e7f81163 advancing to docker v3 2022-11-01 14:46:58 -04:00
brian.long 481e1bb38d Merge branch 'acs-base' into acs 2022-11-01 14:22:57 -04:00
brian.long 29f254a68e updated to ACS v7.3.0 2022-11-01 14:19:58 -04:00
brian.long 184c1bb158 Merge branch 'ags' into ags-enterprise 2021-07-30 16:11:27 -04:00
brian.long d0e042a9c1 Merge branch 'acs-enterprise' into ags-enterprise 2021-07-30 16:09:20 -04:00
brian.long da93d4ea48 increased AGS platform memory limit min 2021-07-30 15:55:53 -04:00
brian.long 01a5d97ed7 Merge branch 'acs' into ags 2021-07-30 15:55:20 -04:00
brian.long ad948f3f08 Merge branch 'acs' into acs-enterprise 2021-07-30 15:54:12 -04:00
brian.long b8016f4ac7 updated ACS memory limits 2021-07-30 15:52:07 -04:00
brian 4d584785ff Merge branch 'ags' into ags-enterprise 2021-04-02 09:14:31 -04:00
brian 96987b7ff1 Merge branch 'acs-enterprise' into ags-enterprise 2021-04-02 09:14:31 -04:00
brian 6e09a9c0c9 Merge branch 'acs' into ags 2021-04-02 09:13:52 -04:00
brian 910cc2e2cb Merge branch 'acs' into acs-enterprise 2021-04-02 09:13:44 -04:00
brian d616b9ef3a Merge branch 'acs-base' into acs 2021-04-02 09:13:32 -04:00
brian.long 6bce626075 Merge branch 'proxy' into acs-base 2021-04-02 08:42:43 -04:00
brian.long 22b2583505 Merge branch 'acs-enterprise' into ags-enterprise 2021-01-13 09:45:50 -05:00
brian.long 0999563353 Merge branch 'acs.acs-base' into ags.acs 2021-01-06 16:27:44 -05:00
brian.long dc9fb0abfa added license dir 2021-01-06 15:39:29 -05:00
brian.long cafee75cdc set platform to v6.2.2.3 2021-01-06 15:21:05 -05:00
brian.long d70efc6943 parameterized AOS 2021-01-06 15:19:41 -05:00
brian.long 295b0711b0 Merge branch 'acs-community.acs-base' into ags-community.acs-community 2021-01-06 12:24:10 -05:00
brian.long a3cb815dd1 Merge branch 'acs-base.proxy' into acs-community.acs-base 2021-01-06 12:22:27 -05:00
brian.long ebd6c503bd Merge branch 'proxy.base' into acs-base.proxy 2021-01-06 12:21:58 -05:00
brian.long bc6a8539f3 switched platform to AGS (not AMP module distributed anymore) 2021-01-06 10:24:47 -05:00
brian.long 55b70f1a36 Merge branch 'acs-base.proxy' into acs-community.acs-base 2020-12-26 13:58:15 -05:00
brian.long 1d5624496d renamed proxy variables to match changes to proxy branch 2020-12-26 13:55:19 -05:00
brian.long 3a6b5c4850 Merge commit '817b062dfddd1035aa68554f55065c042607c482' into acs-base.proxy 2020-12-26 13:54:44 -05:00
brian.long c0c6dcd1ce remove share context; moving to acs-share-base 2020-12-26 13:51:23 -05:00
brian.long 3ac57ce7d1 Merge branch 'acs-base.proxy' into acs-community.acs-base 2020-12-26 13:37:05 -05:00
brian.long 3cb24f7587 added proxy config to platform 2020-12-26 11:18:58 -05:00
brian.long 6579a5a0c9 Merge branch 'proxy.base' into acs-base.proxy 2020-12-26 11:16:07 -05:00
brian.long 1ead7a8d16 added alf-specific variables back to docker-compose env in the right branch 2020-12-26 11:13:00 -05:00
brian.long 63aa212ccb Merge branch 'proxy.base' into acs-base.proxy 2020-12-26 11:11:48 -05:00
brian.long 6d396a640f added JDBC driver to base config 2020-12-26 11:06:07 -05:00
brian.long 6ec4a797ca Merge branch 'acs-base.proxy' into acs-community.acs-base 2020-12-25 23:38:22 -05:00
brian.long 9720bd7fa6 Merge branch 'proxy.base' into acs-base.proxy 2020-12-25 23:08:53 -05:00
brian.long 60b5a8989b changed from v6.2.2-RC1 to v6.2.0-ga 2020-12-17 20:42:54 -05:00
brian.long c22af67a06 disabled jodconverter in platform 2020-12-17 18:53:34 -05:00
brian.long e29e80b650 Merge branch 'acs-base.proxy' into acs-community.acs-base 2020-12-17 16:34:26 -05:00
brian.long 46bbeeef30 fixed missed envvar 2020-12-17 16:29:36 -05:00
brian.long 6b0c103d75 added depends_on for proxy 2020-12-17 16:24:34 -05:00
brian.long faee3aaa48 Merge branch 'acs-proxy.proxy' into acs-base.acs-proxy 2020-12-17 16:20:23 -05:00
brian.long beb87dd97a Merge branch 'proxy.base' into acs-proxy.proxy 2020-12-17 16:20:12 -05:00
brian.long db6a1e148c Merge branch 'acs-proxy.proxy' into acs-base.acs-proxy 2020-12-17 16:16:57 -05:00
brian.long ab396f7656 changed version to 'acs' 2020-12-17 16:16:44 -05:00
brian.long b65d3d301f Merge branch 'acs-proxy.proxy' into acs-base.acs-proxy 2020-12-17 16:16:07 -05:00
brian.long 6332985ebd removed proxy 2020-12-17 16:09:48 -05:00
brian.long 010149e6b6 added platform config 2020-12-17 16:07:17 -05:00
brian.long 90e935a49e minor fixes 2020-12-17 13:22:05 -05:00
brian.long 6e32209824 Merge branch 'acs-base.base' into acs-community.acs-base 2020-12-17 13:20:59 -05:00
brian.long 79a1644530 more corrections to service names and addressing additions 2020-12-17 12:46:24 -05:00
brian.long 5cfee3d18f updated service names 2020-12-17 12:31:55 -05:00
brian.long d0a62bfd24 Merge branch 'acs-base.base' into acs-community.acs-base 2020-12-16 23:57:29 -05:00
brian.long 6c665fab04 added depends_on for the alfresco service 2020-12-16 23:55:56 -05:00
brian.long 723f3ec954 configured for ACS community v6.2.2-RC1 2020-12-16 23:55:00 -05:00
brian.long 0f36dd1943 added minimum unconfigured ACS services to Docker Compose 2020-12-16 23:34:34 -05:00
5 changed files with 69 additions and 54 deletions
+4
View File
@@ -4,3 +4,7 @@ ALFRESCO_LICENSE_DIR=~/alfresco/license
PROXY_PROTOCOL=http PROXY_PROTOCOL=http
PROXY_HOST=localhost PROXY_HOST=localhost
PROXY_PORT=8080 PROXY_PORT=8080
ACS_TAG=7.4.1.1
AAMQ_TAG=latest
POSTGRES_TAG=13
+8
View File
@@ -3,3 +3,11 @@
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.
### ACS Enterprise
The enterprise version of ACS requires a license file for it to work for more than 2 days. This means it isn't really required, but it is becomes important when you utilize any `persist` branch. 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/acs`. There must be just one file in there that ends in `.lic`.
+52 -38
View File
@@ -1,48 +1,63 @@
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml # Originally sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
# #
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose version: "3"
version: "2"
services: services:
activiti-app:
image: alfresco/process-services:latest platform:
image: quay.io/alfresco/alfresco-governance-repository-enterprise:${ACS_TAG}
environment: environment:
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8' JAVA_TOOL_OPTIONS: "
ACTIVITI_ES_REST_CLIENT_ADDRESS: search-aps -Dencryption.keystore.type=JCEKS
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
-Dencryption.keyAlgorithm=DESede
-Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
-Dmetadata-keystore.password=mp6yc0UD9e
-Dmetadata-keystore.aliases=metadata
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
-Dmetadata-keystore.metadata.algorithm=DESede
"
JAVA_OPTS: "
-Xms512m -Xmx1g
-Ddb.driver=org.postgresql.Driver
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
-Dindex.subsystem.name=noindex
-Dalfresco.host=${PROXY_HOST}
-Dalfresco.port=${PROXY_PORT}
-Dalfresco.protocol=${PROXY_PROTOCOL}
-Daos.baseUrlOverwrite=${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/alfresco/aos
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
-Ddeployment.method=DOCKER_COMPOSE
-Dcsrf.filter.enabled=false
-Dcors.enabled=false
-Dtransform.service.enabled=false
-Dlocal.transform.service.enabled=false
-Dsystem.content.eagerOrphanCleanup=true
-Dsystem.content.orphanProtectDays=0
-Djodconverter.enabled=false
"
depends_on: depends_on:
- postgres-aps - postgres-acs
- activemq
volumes: volumes:
- "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro" - "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro"
activiti-admin: postgres-acs:
image: alfresco/process-services-admin:latest image: postgres:${POSTGRES_TAG}
environment: environment:
ACTIVITI_ADMIN_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps-admin:5432/activiti-admin?characterEncoding=UTF-8' POSTGRES_PASSWORD: alfresco
ACTIVITI_ADMIN_REST_APP_HOST: http://activiti-app POSTGRES_USER: alfresco
depends_on: POSTGRES_DB: alfresco
- postgres-aps-admin command: postgres -c max_connections=300 -c log_min_messages=LOG
- activiti-app
activemq:
postgres-aps: image: alfresco/alfresco-activemq:${AAMQ_TAG}
image: postgres:latest
environment: environment:
POSTGRES_DB: activiti ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
ACTIVEMQ_ADMIN_LOGIN: alfresco
postgres-aps-admin: ACTIVEMQ_ADMIN_PASSWORD: alfresco
image: postgres:latest
environment:
POSTGRES_DB: activiti-admin
search-aps:
image: elasticsearch:latest
environment:
discovery.type: single-node
ulimits:
memlock:
soft: -1
hard: -1
depends_on:
- activiti-app
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress
@@ -50,5 +65,4 @@ services:
ports: ports:
- 8080:8080 - 8080:8080
depends_on: depends_on:
- activiti-app - platform
- activiti-admin
+2 -6
View File
@@ -1,11 +1,7 @@
#!/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
if [[ $APS_ADMIN_URL ]]; then
sed -i s%http:\/\/activiti-admin:8080%"$APS_ADMIN_URL"%g /etc/nginx/nginx.conf
fi fi
if [[ $ACCESS_LOG ]]; then if [[ $ACCESS_LOG ]]; then
+3 -10
View File
@@ -39,18 +39,11 @@ 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)
absolute_redirect off;
}
location /activiti-admin/ {
proxy_pass http://activiti-admin: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;