Compare commits

..
Author SHA1 Message Date
brian.long 50ad4a380b Merge branch 'acs-base' into acs-ext-platform 2023-10-25 20:28:45 -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 1e1667c039 parameterize ACS version in Dockerfile 2022-11-01 16:00:54 -04:00
brian.long 6e6f38e9e4 Merge branch 'acs-base' into acs-ext-platform 2022-11-01 15:40:04 -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 29f254a68e updated to ACS v7.3.0 2022-11-01 14:19:58 -04:00
brian.long aeb3fe5b62 splitting share/platform module dirs 2021-04-23 08:37:03 -04:00
brian 228e930caa Merge branch 'acs-base' into acs-ext-platform 2021-04-02 09:13:13 -04:00
brian.long fa515e4984 Merge branch 'acs-base.proxy' into acs-ext-platform.acs-base 2021-01-06 16:07:52 -05:00
brian.long 5a12f3a6e0 Merge branch 'acs-base.proxy' into acs-ext-platform.acs-base 2020-12-26 14:06:49 -05:00
brian.long b6ff1bb4d2 Merge remote-tracking branch 'home/acs-ext-platform.acs-base' into acs-ext-platform.acs-base 2020-12-26 00:00:32 -05:00
brian.long 8467968c92 Merge branch 'acs-base.proxy' into acs-ext-platform.acs-base 2020-12-25 23:37:45 -05:00
brian.long 32b8e047fb appending catalina.policy file for these external JARs 2020-12-25 15:16:36 -05:00
brian.long 119c6643bd refactored JAR ext loading 2020-12-25 14:41:51 -05:00
brian.long a30f423c44 enabled JAR extension loading 2020-12-25 14:32:20 -05:00
brian.long 4650110b96 fixed COPY for multiple AMPs 2020-12-21 14:28:20 -05:00
brian.long 24114c2604 initial platform extension framework 2020-12-17 19:25:31 -05:00
7 changed files with 58 additions and 28 deletions
+4
View File
@@ -4,3 +4,7 @@ ALFRESCO_LICENSE_DIR=~/alfresco/license
PROXY_PROTOCOL=http
PROXY_HOST=localhost
PROXY_PORT=8080
ACS_TAG=7.4.1.1
AAMQ_TAG=latest
POSTGRES_TAG=13
@@ -0,0 +1,17 @@
ARG ACS_TAG=inject-it
FROM alfresco/alfresco-content-repository-community:${ACS_TAG}
ARG USERNAME=alfresco
ARG TOMCAT_DIR=/usr/local/tomcat
USER root
COPY catalina.policy /tmp/catalina.policy.ext
COPY tomcat-platform-context.xml ${TOMCAT_DIR}/conf/Catalina/localhost/alfresco.xml
COPY *.amp ${TOMCAT_DIR}/amps/
RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/webapps/alfresco -nobackup -directory && \
mkdir -p ${TOMCAT_DIR}/modules/platform && \
cat /tmp/catalina.policy.ext >> ${TOMCAT_DIR}/conf/catalina.policy
USER ${USERNAME}
@@ -0,0 +1,3 @@
## Usage
Download all AMP files needed into this directory. All of them will be copied into a new Docker image and installed into the Alfresco Platform web application.
@@ -0,0 +1,4 @@
grant codeBase "file:${catalina.base}/modules/-" {
permission java.security.AllPermission;
};
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Context>
<Resources>
<PreResources base="${catalina.base}/modules/platform" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
</Resources>
</Context>
@@ -0,0 +1,3 @@
## Usage
Download all JAR module files needed into this directory. All of them will be dynamically loaded into the Docker container and loaded into the Alfresco Platform web application.
+21 -28
View File
@@ -1,51 +1,44 @@
# 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: "2"
version: "3"
services:
platform:
image: alfresco/alfresco-content-repository-community:6.2.0-ga
mem_limit: 1700m
build:
context: ./alfresco-content-repository/docker
args:
ACS_TAG: ${ACS_TAG}
image: local/alfresco-content-repository:latest
environment:
JAVA_TOOL_OPTIONS: "
-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: "
-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
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
-Dtransform.service.enabled=false
-Dlocal.transform.service.enabled=false
-Dsystem.content.eagerOrphanCleanup=true
-Dsystem.content.orphanProtectDays=0
-Djodconverter.enabled=false
"
depends_on:
- postgres-acs
- activemq
volumes:
- "./alfresco-content-repository/modules:/usr/local/tomcat/modules/platform:ro"
postgres-acs:
image: postgres:11.7
mem_limit: 512m
environment:
- POSTGRES_PASSWORD=alfresco
- POSTGRES_USER=alfresco
- POSTGRES_DB=alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG
image: postgres:${POSTGRES_TAG}
activemq:
image: alfresco/alfresco-activemq:5.15.8
mem_limit: 256m
image: alfresco/alfresco-activemq:${AAMQ_TAG}
proxy:
build: ./nginx-ingress