Compare commits

...

23 Commits

Author SHA1 Message Date
50ad4a380b Merge branch 'acs-base' into acs-ext-platform 2023-10-25 20:28:45 -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
241a3e47ea Merge branch 'base' into proxy 2023-10-25 18:07:00 -04:00
c2a9679ede update comment 2023-10-25 18:05:39 -04:00
1e1667c039 parameterize ACS version in Dockerfile 2022-11-01 16:00:54 -04:00
6e6f38e9e4 Merge branch 'acs-base' into acs-ext-platform 2022-11-01 15:40:04 -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
9e1a819e8b Merge branch 'base' into proxy 2022-11-01 14:48:11 -04:00
10e7f81163 advancing to docker v3 2022-11-01 14:46:58 -04:00
29f254a68e updated to ACS v7.3.0 2022-11-01 14:19:58 -04:00
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
fa515e4984 Merge branch 'acs-base.proxy' into acs-ext-platform.acs-base 2021-01-06 16:07:52 -05:00
5a12f3a6e0 Merge branch 'acs-base.proxy' into acs-ext-platform.acs-base 2020-12-26 14:06:49 -05:00
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
8467968c92 Merge branch 'acs-base.proxy' into acs-ext-platform.acs-base 2020-12-25 23:37:45 -05:00
32b8e047fb appending catalina.policy file for these external JARs 2020-12-25 15:16:36 -05:00
119c6643bd refactored JAR ext loading 2020-12-25 14:41:51 -05:00
a30f423c44 enabled JAR extension loading 2020-12-25 14:32:20 -05:00
4650110b96 fixed COPY for multiple AMPs 2020-12-21 14:28:20 -05:00
24114c2604 initial platform extension framework 2020-12-17 19:25:31 -05:00
7 changed files with 58 additions and 6 deletions

4
.env
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

View File

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

View File

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

View File

@@ -0,0 +1,4 @@
grant codeBase "file:${catalina.base}/modules/-" {
permission java.security.AllPermission;
};

View File

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

View File

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

View File

@@ -1,12 +1,25 @@
# 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:latest
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.url=jdbc:postgresql://postgres-acs:5432/alfresco
@@ -18,12 +31,14 @@ services:
depends_on:
- postgres-acs
- activemq
volumes:
- "./alfresco-content-repository/modules:/usr/local/tomcat/modules/platform:ro"
postgres-acs:
image: postgres:latest
image: postgres:${POSTGRES_TAG}
activemq:
image: alfresco/alfresco-activemq:latest
image: alfresco/alfresco-activemq:${AAMQ_TAG}
proxy:
build: ./nginx-ingress