Compare commits

..

16 Commits

Author SHA1 Message Date
b1fd22349c Merge branch 'acs' into acs-mysql 2023-11-01 14:23:32 -04:00
fbda2bcdde configure CORS in ACS 2023-11-01 14:21:02 -04:00
57e5ee1da5 Merge branch 'acs' into acs-mysql 2023-10-26 14:40:48 -04:00
291176c213 Merge branch 'acs-mysql-base' into acs-mysql 2023-10-25 22:19:31 -04:00
37e13d6252 Merge branch 'acs-base' into acs-mysql-base 2023-10-25 20:26:54 -04:00
c5171fdb51 Merge branch 'acs' into acs-mysql 2021-07-30 15:58:15 -04:00
brian
07e0d14f42 Merge branch 'acs-mysql-base' into acs-mysql 2021-04-02 09:14:14 -04:00
brian
94a2a3a259 Merge branch 'acs' into acs-mysql 2021-04-02 09:14:13 -04:00
brian
dc3e42c872 Merge branch 'acs-base' into acs-mysql-base 2021-04-02 09:13:36 -04:00
b59eae3b5f Merge branch 'acs' into acs-mysql 2021-01-11 22:47:08 -05:00
dc3dd8ca74 Merge branch 'acs-mysql-base.acs-base' into acs-mysql.acs-mysql-base 2021-01-06 16:00:28 -05:00
ae7b02d6ea Merge branch 'acs-base.proxy' into acs-mysql-base.acs-base 2021-01-06 15:56:41 -05:00
82b58f638c Merge branch 'acs-community.acs-base' into acs-mysql-community.acs-community 2020-12-26 13:58:35 -05:00
5b65b4817e Merge branch 'acs-base.proxy' into acs-mysql-base.acs-base 2020-12-26 13:57:17 -05:00
5a929f6317 Merge branch 'acs-community.acs-base' into acs-mysql-community.acs-community 2020-12-26 13:39:03 -05:00
f66e9aa1e8 replaced postgresql with mysql 2020-12-26 11:25:37 -05:00
2 changed files with 12 additions and 37 deletions

1
.env
View File

@@ -8,4 +8,3 @@ PROXY_PORT=8080
ACS_TAG=7.4.1.1 ACS_TAG=7.4.1.1
AAMQ_TAG=latest AAMQ_TAG=latest
POSTGRES_TAG=13 POSTGRES_TAG=13
ASIE_TAG=2.0.8.2

View File

@@ -19,15 +19,11 @@ services:
" "
JAVA_OPTS: " JAVA_OPTS: "
-Xms512m -Xmx1g -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:postgresql://postgres-acs:5432/alfresco -Ddb.url=jdbc:mysql://mysql-acs:3306/alfresco?useUnicode=yes\\&characterEncoding=UTF-8\\&useSSL=false
-Dindex.subsystem.name=solr6 -Dindex.subsystem.name=noindex
-Dsolr.host=search
-Dsolr.secureComms=secret
-Dsolr.sharedSecret=alfresco-secret
-Dsolr.useDynamicShardRegistration=true
-Dalfresco.host=${PROXY_HOST} -Dalfresco.host=${PROXY_HOST}
-Dalfresco.port=${PROXY_PORT} -Dalfresco.port=${PROXY_PORT}
-Dalfresco.protocol=${PROXY_PROTOCOL} -Dalfresco.protocol=${PROXY_PROTOCOL}
@@ -35,7 +31,8 @@ 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=false -Dcors.enabled=true
-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
@@ -43,37 +40,16 @@ services:
-Djodconverter.enabled=false -Djodconverter.enabled=false
" "
depends_on: depends_on:
- postgres-acs - mysql-acs
- activemq - activemq
postgres-acs: mysql-acs:
image: postgres:${POSTGRES_TAG} image: mysql:5.7
environment: environment:
POSTGRES_PASSWORD: alfresco - MYSQL_RANDOM_ROOT_PASSWORD=true
POSTGRES_USER: alfresco - MYSQL_PASSWORD=alfresco
POSTGRES_DB: alfresco - MYSQL_USER=alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG - MYSQL_DATABASE=alfresco
search:
image: alfresco/alfresco-search-services:${ASIE_TAG}
environment:
SOLR_ALFRESCO_HOST: platform
SOLR_SOLR_HOST: search
ALFRESCO_SECURE_COMMS: secret
JAVA_TOOL_OPTIONS: "
-Dalfresco.secureComms.secret=alfresco-secret
"
healthcheck:
test: "curl -fsS http://localhost:8983/solr"
search-shard-init:
image: cfmanteiga/alpine-bash-curl-jq
command: [ "bash", "-c", "
curl -s http://search:8983/solr/admin/cores?action=newCore\\&core=alfresco\\&storeRef=workspace://SpacesStore\\&numShards=2\\&nodeInstance=1\\&numNodes=1\\&template=rerank\\&shardIds=0,1
"]
depends_on:
search:
condition: service_healthy
activemq: activemq:
image: alfresco/alfresco-activemq:${AAMQ_TAG} image: alfresco/alfresco-activemq:${AAMQ_TAG}