Commit 795b032e authored by Brian Long's avatar Brian Long
Browse files

Merge branch 'acs-ext-platform.acs-base' into ext-jsconsole.download

parents b81ce2e2 24114c26
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
## 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 −0
Original line number Diff line number Diff line
## 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.
+28 −0
Original line number Diff line number Diff line
@@ -3,3 +3,31 @@
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"

services:
    platform:
        build: ./alfresco-content-repository/docker
        image: local/alfresco-content-repository:latest
        environment:
            JAVA_OPTS: "
                -Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
                "
        depends_on:
            - postgres-acs
            - activemq
        volumes:
            - "./alfresco-content-repository/modules:/usr/local/tomcat/modules/platform:ro"
    
    postgres-acs:
        image: postgres:latest

    activemq:
        image: alfresco/alfresco-activemq:latest

    proxy:
        build: ./nginx-ingress
        image: local/nginx-ingress:acs
        ports:
            - 8080:8080
        depends_on:
            - platform
+8 −0
Original line number Diff line number Diff line
FROM nginx:stable-alpine

COPY nginx.conf /etc/nginx/nginx.conf

COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]
Loading