Compare commits
23 Commits
propagate/
...
acs-ext-pl
Author | SHA1 | Date | |
---|---|---|---|
50ad4a380b | |||
57af0a20b1 | |||
76e4287aa1 | |||
241a3e47ea | |||
c2a9679ede | |||
1e1667c039 | |||
6e6f38e9e4 | |||
8e3301877a | |||
8b4e45c2e2 | |||
9e1a819e8b | |||
10e7f81163 | |||
29f254a68e | |||
aeb3fe5b62 | |||
|
228e930caa | ||
fa515e4984 | |||
5a12f3a6e0 | |||
b6ff1bb4d2 | |||
8467968c92 | |||
32b8e047fb | |||
119c6643bd | |||
a30f423c44 | |||
4650110b96 | |||
24114c2604 |
4
.env
4
.env
@@ -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
|
||||
|
17
alfresco-content-repository/docker/Dockerfile
Normal file
17
alfresco-content-repository/docker/Dockerfile
Normal 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}
|
3
alfresco-content-repository/docker/README.md
Normal file
3
alfresco-content-repository/docker/README.md
Normal 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.
|
4
alfresco-content-repository/docker/catalina.policy
Normal file
4
alfresco-content-repository/docker/catalina.policy
Normal file
@@ -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>
|
3
alfresco-content-repository/modules/README.md
Normal file
3
alfresco-content-repository/modules/README.md
Normal 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.
|
@@ -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
|
||||
|
Reference in New Issue
Block a user