Compare commits
28
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b86dd34b55 | ||
|
|
23b3057329 | ||
|
|
b009fa9219 | ||
|
|
57af0a20b1 | ||
|
|
76e4287aa1 | ||
|
|
241a3e47ea | ||
|
|
c2a9679ede | ||
|
|
936e6ad134 | ||
|
|
fcd1262721 | ||
|
|
d7de714eeb | ||
|
|
8e3301877a | ||
|
|
8b4e45c2e2 | ||
|
|
9e1a819e8b | ||
|
|
10e7f81163 | ||
|
|
29f254a68e | ||
|
|
4ff7371d19 | ||
|
|
a41c084c9f | ||
|
|
f49ea55a48 | ||
|
|
e582744e6c | ||
|
|
31eaf8c7c2 | ||
|
|
14a4c09f4d | ||
|
|
486ff23ce4 | ||
|
|
bdef8c6b7f | ||
|
|
b9f0597020 | ||
|
|
18839c8019 | ||
|
|
8a29bded24 | ||
|
|
cb04027103 | ||
|
|
893f9cf7a8 |
@@ -4,3 +4,8 @@ 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
|
||||
ACS_SHARE_TAG=7.4.1.2
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
ARG ACS_SHARE_TAG=inject-it
|
||||
FROM alfresco/alfresco-share:${ACS_SHARE_TAG}
|
||||
|
||||
ARG TOMCAT_DIR=/usr/local/tomcat
|
||||
|
||||
COPY tomcat-share-context.xml ${TOMCAT_DIR}/conf/Catalina/localhost/share.xml
|
||||
COPY *.amp ${TOMCAT_DIR}/amps_share/
|
||||
|
||||
RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps_share ${TOMCAT_DIR}/webapps/share -nobackup -directory && \
|
||||
mkdir -p ${TOMCAT_DIR}/modules/share
|
||||
|
||||
@@ -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 Share web application.
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Context>
|
||||
<Resources>
|
||||
<PreResources base="${catalina.base}/modules/share" 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 Share web application.
|
||||
+22
-7
@@ -1,12 +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:
|
||||
image: alfresco/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
|
||||
@@ -23,7 +32,11 @@ services:
|
||||
- activemq
|
||||
|
||||
share:
|
||||
image: alfresco/alfresco-share:latest
|
||||
build:
|
||||
context: ./alfresco-share/docker
|
||||
args:
|
||||
ACS_SHARE_TAG: ${ACS_SHARE_TAG}
|
||||
image: local/alfresco-share:latest
|
||||
environment:
|
||||
REPO_HOST: "platform"
|
||||
CSRF_FILTER_REFERER: "${PROXY_PROTOCOL}://${PROXY_HOST}(:${PROXY_PORT})?/?.*"
|
||||
@@ -36,12 +49,14 @@ services:
|
||||
-Dalfresco.port=${PROXY_PORT}
|
||||
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
||||
"
|
||||
volumes:
|
||||
- "./alfresco-share/modules:/usr/local/tomcat/modules/share: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