Compare commits
47 Commits
acs-ext-pl
...
ags-enterp
Author | SHA1 | Date | |
---|---|---|---|
c088f81a2b | |||
5fc2127922 | |||
31a89f370d | |||
c0878c27f0 | |||
df452d73a0 | |||
aa136e1f2f | |||
fa90205f6f | |||
3d4f0640ab | |||
8a53f02159 | |||
38b5f8dc36 | |||
ef221d9c7a | |||
4336b63b85 | |||
df0a91920b | |||
18889ab89d | |||
8fd11ed1d6 | |||
7511eba729 | |||
173de2375e | |||
481e1bb38d | |||
184c1bb158 | |||
d0e042a9c1 | |||
da93d4ea48 | |||
01a5d97ed7 | |||
ad948f3f08 | |||
b8016f4ac7 | |||
|
4d584785ff | ||
|
96987b7ff1 | ||
|
6e09a9c0c9 | ||
|
910cc2e2cb | ||
|
d616b9ef3a | ||
22b2583505 | |||
0999563353 | |||
dc9fb0abfa | |||
cafee75cdc | |||
d70efc6943 | |||
295b0711b0 | |||
a3cb815dd1 | |||
bc6a8539f3 | |||
55b70f1a36 | |||
3ac57ce7d1 | |||
6ec4a797ca | |||
60b5a8989b | |||
c22af67a06 | |||
e29e80b650 | |||
90e935a49e | |||
6e32209824 | |||
d0a62bfd24 | |||
723f3ec954 |
@@ -3,3 +3,11 @@
|
||||
|
||||
This Git Repository intends to represent environments in Docker Compose. All environments are effectively a derivative of other environments. The original environment is the environment represented by the `base` branch. All derivative environments are represented by other branches. Those branches are named in the format `{core}.{parent}`.
|
||||
|
||||
## Licensing
|
||||
|
||||
This version of Alfresco requires licensing.
|
||||
|
||||
### ACS Enterprise
|
||||
|
||||
The enterprise version of ACS requires a license file for it to work for more than 2 days. This means it isn't really required, but it is becomes important when you utilize any `persist` branch. For licensing to work, you must place your license file in the following directory relative to the user home directory that runs the Docker Compose command: `alfresco/license/acs`. There must be just one file in there that ends in `.lic`.
|
||||
|
||||
|
@@ -1,17 +0,0 @@
|
||||
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}
|
@@ -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,6 +0,0 @@
|
||||
<?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>
|
@@ -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.
|
@@ -5,11 +5,7 @@ version: "3"
|
||||
services:
|
||||
|
||||
platform:
|
||||
build:
|
||||
context: ./alfresco-content-repository/docker
|
||||
args:
|
||||
ACS_TAG: ${ACS_TAG}
|
||||
image: local/alfresco-content-repository:latest
|
||||
image: quay.io/alfresco/alfresco-governance-repository-enterprise:${ACS_TAG}
|
||||
environment:
|
||||
JAVA_TOOL_OPTIONS: "
|
||||
-Dencryption.keystore.type=JCEKS
|
||||
@@ -19,26 +15,49 @@ services:
|
||||
-Dmetadata-keystore.password=mp6yc0UD9e
|
||||
-Dmetadata-keystore.aliases=metadata
|
||||
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
|
||||
-Dmetadata-keystore.metadata.algorithm=DESede"
|
||||
-Dmetadata-keystore.metadata.algorithm=DESede
|
||||
"
|
||||
JAVA_OPTS: "
|
||||
-Xms512m -Xmx1g
|
||||
-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
|
||||
-Dcors.enabled=false
|
||||
-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"
|
||||
- "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro"
|
||||
|
||||
postgres-acs:
|
||||
image: postgres:${POSTGRES_TAG}
|
||||
environment:
|
||||
POSTGRES_PASSWORD: alfresco
|
||||
POSTGRES_USER: alfresco
|
||||
POSTGRES_DB: alfresco
|
||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||
|
||||
activemq:
|
||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
||||
environment:
|
||||
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
||||
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
||||
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
|
Reference in New Issue
Block a user