initial platform extension framework

This commit is contained in:
Brian Long 2020-12-17 19:25:31 -05:00
parent 46bbeeef30
commit 24114c2604
4 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,12 @@
FROM alfresco/alfresco-content-repository:latest
ARG USERNAME=alfresco
ARG TOMCAT_DIR=/usr/local/tomcat
USER root
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
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,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

@ -5,7 +5,8 @@ version: "2"
services: services:
platform: platform:
image: alfresco/alfresco-content-repository:latest build: ./alfresco-content-repository/docker
image: local/alfresco-content-repository:latest
environment: environment:
JAVA_OPTS: " JAVA_OPTS: "
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco -Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
@ -14,6 +15,8 @@ services:
depends_on: depends_on:
- postgres-acs - postgres-acs
- activemq - activemq
volumes:
- "./alfresco-content-repository/modules:/usr/local/tomcat/modules/platform:ro"
postgres-acs: postgres-acs:
image: postgres:latest image: postgres:latest