enabled JAR extension loading
This commit is contained in:
parent
8a29bded24
commit
18839c8019
@ -4,4 +4,6 @@ ARG TOMCAT_DIR=/usr/local/tomcat
|
|||||||
|
|
||||||
COPY *.amp ${TOMCAT_DIR}/amps_share/
|
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
|
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
|
||||||
|
|
||||||
|
@ -21,7 +21,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
REPO_HOST: "platform"
|
REPO_HOST: "platform"
|
||||||
volumes:
|
volumes:
|
||||||
- "./alfresco-share/modules:/usr/local/tomcat/modules/share:ro"
|
- "./tomcat-share-context.xml:/usr/local/tomcat/conf/Catalina/localhost/share.xml:ro"
|
||||||
|
- "./alfresco-share/modules:/usr/local/tomcat/modules:ro"
|
||||||
|
|
||||||
postgres-acs:
|
postgres-acs:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
|
7
tomcat-share-context.xml
Normal file
7
tomcat-share-context.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<Context>
|
||||||
|
<Resources>
|
||||||
|
<PreResources base="${catalina.base}/modules" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
|
||||||
|
</Resources>
|
||||||
|
</Context>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user