diff --git a/docker-compose.yml b/docker-compose.yml index 75a6cb7..c61032b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,28 +5,50 @@ version: "2" services: platform: - image: alfresco/alfresco-content-repository:latest + image: alfresco/alfresco-content-repository-community:6.2.0-ga + mem_limit: 1700m environment: JAVA_OPTS: " -Ddb.driver=com.mysql.jdbc.Driver + -Ddb.username=alfresco + -Ddb.password=alfresco -Ddb.url=jdbc:mysql://mysql-acs:3306/alfresco?useUnicode=yes\\&characterEncoding=UTF-8\\&useSSL=false + -Dindex.subsystem.name=noindex -Dshare.host=${PROXY_SHARE_HOST} -Dshare.port=${PROXY_SHARE_PORT} -Dshare.protocol=${PROXY_SHARE_PROTOCOL} -Dalfresco.host=${PROXY_PLATFORM_HOST} -Dalfresco.port=${PROXY_PLATFORM_PORT} -Dalfresco.protocol=${PROXY_PLATFORM_PROTOCOL} + -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\" + -Ddeployment.method=DOCKER_COMPOSE + -Dcsrf.filter.enabled=false + -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 + + -Dtransform.service.enabled=false + -Dlocal.transform.service.enabled=false + + -Dsystem.content.eagerOrphanCleanup=true + -Dsystem.content.orphanProtectDays=0 + -Djodconverter.enabled=false " depends_on: - mysql-acs - activemq mysql-acs: - image: mysql:latest + image: mysql:5.7 + mem_limit: 512m + environment: + - MYSQL_RANDOM_ROOT_PASSWORD=true + - MYSQL_PASSWORD=alfresco + - MYSQL_USER=alfresco + - MYSQL_DATABASE=alfresco activemq: - image: alfresco/alfresco-activemq:latest + image: alfresco/alfresco-activemq:5.15.8 + mem_limit: 256m proxy: build: ./nginx-ingress