Compare commits
30 Commits
propagate/
...
acs-mysql
Author | SHA1 | Date | |
---|---|---|---|
b1fd22349c | |||
fbda2bcdde | |||
57e5ee1da5 | |||
df452d73a0 | |||
291176c213 | |||
37e13d6252 | |||
ef221d9c7a | |||
57af0a20b1 | |||
76e4287aa1 | |||
241a3e47ea | |||
c2a9679ede | |||
7511eba729 | |||
173de2375e | |||
8e3301877a | |||
8b4e45c2e2 | |||
9e1a819e8b | |||
10e7f81163 | |||
481e1bb38d | |||
29f254a68e | |||
c5171fdb51 | |||
|
07e0d14f42 | ||
|
94a2a3a259 | ||
|
dc3e42c872 | ||
b59eae3b5f | |||
dc3dd8ca74 | |||
ae7b02d6ea | |||
82b58f638c | |||
5b65b4817e | |||
5a929f6317 | |||
f66e9aa1e8 |
4
.env
4
.env
@@ -4,3 +4,7 @@ ALFRESCO_LICENSE_DIR=~/alfresco/license
|
||||
PROXY_PROTOCOL=http
|
||||
PROXY_HOST=localhost
|
||||
PROXY_PORT=8080
|
||||
|
||||
ACS_TAG=7.4.1.1
|
||||
AAMQ_TAG=latest
|
||||
POSTGRES_TAG=13
|
||||
|
@@ -1,18 +1,28 @@
|
||||
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
||||
# Originally sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
||||
#
|
||||
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
|
||||
version: "2"
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
platform:
|
||||
image: alfresco/alfresco-content-repository-community:6.2.0-ga
|
||||
mem_limit: 1700m
|
||||
image: alfresco/alfresco-content-repository-community:${ACS_TAG}
|
||||
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: "
|
||||
-Ddb.driver=org.postgresql.Driver
|
||||
-Xms512m -Xmx1g
|
||||
-Ddb.driver=com.mysql.jdbc.Driver
|
||||
-Ddb.username=alfresco
|
||||
-Ddb.password=alfresco
|
||||
-Ddb.url=jdbc:postgresql://postgres-acs:5432/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.port=${PROXY_PORT}
|
||||
@@ -21,36 +31,36 @@ services:
|
||||
-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
|
||||
|
||||
-Dcors.enabled=true
|
||||
-Dcors.allowed.origins=http://localhost:4200,http://localhost:8080,${PROXY_PROTOCOL}://${PROXY_HOST}
|
||||
-Dtransform.service.enabled=false
|
||||
-Dlocal.transform.service.enabled=false
|
||||
|
||||
-Dsystem.content.eagerOrphanCleanup=true
|
||||
-Dsystem.content.orphanProtectDays=0
|
||||
-Djodconverter.enabled=false
|
||||
"
|
||||
depends_on:
|
||||
- postgres-acs
|
||||
- mysql-acs
|
||||
- activemq
|
||||
|
||||
postgres-acs:
|
||||
image: postgres:11.7
|
||||
mem_limit: 128m
|
||||
mysql-acs:
|
||||
image: mysql:5.7
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=alfresco
|
||||
- POSTGRES_USER=alfresco
|
||||
- POSTGRES_DB=alfresco
|
||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
||||
- MYSQL_PASSWORD=alfresco
|
||||
- MYSQL_USER=alfresco
|
||||
- MYSQL_DATABASE=alfresco
|
||||
|
||||
activemq:
|
||||
image: alfresco/alfresco-activemq:5.15.8
|
||||
mem_limit: 512m
|
||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
||||
environment:
|
||||
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
||||
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
||||
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
image: local/nginx-ingress:acs
|
||||
mem_limit: 256m
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
|
Reference in New Issue
Block a user