Compare commits

..
Author SHA1 Message Date
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 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
7 changed files with 19 additions and 42 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
@@ -1,16 +0,0 @@
FROM alfresco/alfresco-content-repository:latest
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 && \
cat /tmp/catalina.policy.ext >> ${TOMCAT_DIR}/conf/catalina.policy
USER ${USERNAME}
@@ -1,3 +0,0 @@
## 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.
@@ -1,4 +0,0 @@
grant codeBase "file:${catalina.base}/modules/-" {
permission java.security.AllPermission;
};
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Context>
<Resources>
<PreResources base="${catalina.base}/modules" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
</Resources>
</Context>
@@ -1,3 +0,0 @@
## 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.
+15 -9
View File
@@ -1,13 +1,21 @@
# 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:
build: ./alfresco-content-repository/docker
image: local/alfresco-content-repository:latest
image: alfresco/alfresco-content-repository-community:${ACS_TAG}
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
@@ -19,14 +27,12 @@ services:
depends_on:
- postgres-acs
- activemq
volumes:
- "./alfresco-content-repository/modules:/usr/local/tomcat/modules: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