Compare commits

..

7 Commits

View File

@@ -5,47 +5,31 @@ version: "2"
services: services:
platform: platform:
image: alfresco/alfresco-content-repository-community:6.2.0-ga image: alfresco/alfresco-content-repository:latest
mem_limit: 1700m
environment: environment:
JAVA_OPTS: " JAVA_OPTS: "
-Ddb.driver=com.mysql.jdbc.Driver -Ddb.driver=org.postgresql.Driver
-Ddb.username=alfresco -Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
-Ddb.password=alfresco
-Ddb.url=jdbc:mysql://mysql-acs:3306/alfresco?useUnicode=yes\\&characterEncoding=UTF-8\\&useSSL=false
-Dindex.subsystem.name=noindex
-Dalfresco.host=${PROXY_HOST} -Dalfresco.host=${PROXY_HOST}
-Dalfresco.port=${PROXY_PORT} -Dalfresco.port=${PROXY_PORT}
-Dalfresco.protocol=${PROXY_PROTOCOL} -Dalfresco.protocol=${PROXY_PROTOCOL}
-Daos.baseUrlOverwrite=${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/alfresco/aos
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\" -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: depends_on:
- mysql-acs - postgres-acs
- activemq - activemq
volumes:
- acsbin-volume:/usr/local/tomcat/alf_data:rw
mysql-acs: postgres-acs:
image: mysql:5.7 image: postgres:latest
mem_limit: 512m volumes:
environment: - acsdb-volume:/var/lib/postgresql/data:rw
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_PASSWORD=alfresco
- MYSQL_USER=alfresco
- MYSQL_DATABASE=alfresco
activemq: activemq:
image: alfresco/alfresco-activemq:5.15.8 image: alfresco/alfresco-activemq:latest
mem_limit: 256m volumes:
- activemq-volume:/opt/activemq/data:rw
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress
@@ -54,3 +38,11 @@ services:
- 8080:8080 - 8080:8080
depends_on: depends_on:
- platform - platform
volumes:
acsbin-volume:
driver: local
acsdb-volume:
driver: local
activemq-volume:
driver: local