initial platform extension framework
This commit is contained in:
parent
46bbeeef30
commit
24114c2604
12
alfresco-content-repository/docker/Dockerfile
Normal file
12
alfresco-content-repository/docker/Dockerfile
Normal 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}
|
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.
|
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.
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user