Compare commits
4 Commits
acs-mysql
...
propagate/
Author | SHA1 | Date | |
---|---|---|---|
|
6e09a9c0c9 | ||
0999563353 | |||
295b0711b0 | |||
bc6a8539f3 |
4
.env
4
.env
@@ -4,7 +4,3 @@ ALFRESCO_LICENSE_DIR=~/alfresco/license
|
|||||||
PROXY_PROTOCOL=http
|
PROXY_PROTOCOL=http
|
||||||
PROXY_HOST=localhost
|
PROXY_HOST=localhost
|
||||||
PROXY_PORT=8080
|
PROXY_PORT=8080
|
||||||
|
|
||||||
ACS_TAG=7.4.1.1
|
|
||||||
AAMQ_TAG=latest
|
|
||||||
POSTGRES_TAG=13
|
|
||||||
|
@@ -1,28 +1,18 @@
|
|||||||
# Originally sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
||||||
#
|
#
|
||||||
version: "3"
|
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
|
||||||
|
version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
image: alfresco/alfresco-content-repository-community:${ACS_TAG}
|
image: alfresco/alfresco-governance-repository-community:V3.4-latest
|
||||||
|
mem_limit: 1700m
|
||||||
environment:
|
environment:
|
||||||
JAVA_TOOL_OPTIONS: "
|
|
||||||
-Dencryption.keystore.type=JCEKS
|
|
||||||
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
|
|
||||||
-Dencryption.keyAlgorithm=DESede
|
|
||||||
-Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
|
|
||||||
-Dmetadata-keystore.password=mp6yc0UD9e
|
|
||||||
-Dmetadata-keystore.aliases=metadata
|
|
||||||
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
|
|
||||||
-Dmetadata-keystore.metadata.algorithm=DESede
|
|
||||||
"
|
|
||||||
JAVA_OPTS: "
|
JAVA_OPTS: "
|
||||||
-Xms512m -Xmx1g
|
-Ddb.driver=org.postgresql.Driver
|
||||||
-Ddb.driver=com.mysql.jdbc.Driver
|
|
||||||
-Ddb.username=alfresco
|
-Ddb.username=alfresco
|
||||||
-Ddb.password=alfresco
|
-Ddb.password=alfresco
|
||||||
-Ddb.url=jdbc:mysql://mysql-acs:3306/alfresco?useUnicode=yes\\&characterEncoding=UTF-8\\&useSSL=false
|
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
|
||||||
-Dindex.subsystem.name=noindex
|
-Dindex.subsystem.name=noindex
|
||||||
-Dalfresco.host=${PROXY_HOST}
|
-Dalfresco.host=${PROXY_HOST}
|
||||||
-Dalfresco.port=${PROXY_PORT}
|
-Dalfresco.port=${PROXY_PORT}
|
||||||
@@ -31,32 +21,31 @@ services:
|
|||||||
-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
|
-Ddeployment.method=DOCKER_COMPOSE
|
||||||
-Dcsrf.filter.enabled=false
|
-Dcsrf.filter.enabled=false
|
||||||
-Dcors.enabled=true
|
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
|
||||||
-Dcors.allowed.origins=http://localhost:4200,http://localhost:8080,${PROXY_PROTOCOL}://${PROXY_HOST}
|
|
||||||
-Dtransform.service.enabled=false
|
-Dtransform.service.enabled=false
|
||||||
-Dlocal.transform.service.enabled=false
|
-Dlocal.transform.service.enabled=false
|
||||||
|
|
||||||
-Dsystem.content.eagerOrphanCleanup=true
|
-Dsystem.content.eagerOrphanCleanup=true
|
||||||
-Dsystem.content.orphanProtectDays=0
|
-Dsystem.content.orphanProtectDays=0
|
||||||
-Djodconverter.enabled=false
|
-Djodconverter.enabled=false
|
||||||
"
|
"
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-acs
|
- postgres-acs
|
||||||
- activemq
|
- activemq
|
||||||
|
|
||||||
mysql-acs:
|
postgres-acs:
|
||||||
image: mysql:5.7
|
image: postgres:11.7
|
||||||
|
mem_limit: 512m
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
- POSTGRES_PASSWORD=alfresco
|
||||||
- MYSQL_PASSWORD=alfresco
|
- POSTGRES_USER=alfresco
|
||||||
- MYSQL_USER=alfresco
|
- POSTGRES_DB=alfresco
|
||||||
- MYSQL_DATABASE=alfresco
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
|
|
||||||
activemq:
|
activemq:
|
||||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
image: alfresco/alfresco-activemq:5.15.8
|
||||||
environment:
|
mem_limit: 256m
|
||||||
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
|
||||||
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
|
||||||
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
|
Reference in New Issue
Block a user