mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
* APPS-937 execute AGS tests [skip tests]
* APPS-937 Added missing file [ags][ags on MySQL][skip db][no downstream]
* APPS-937 tests postgres 13.1 [ags][skip db][no downstream]
* APPS-937 code review comments [skip tests]
(cherry picked from commit 66eda8dccc
)
90 lines
3.3 KiB
YAML
90 lines
3.3 KiB
YAML
version: "3"
|
|
|
|
# For remote debug we need the CATALINA_OPTS and to expose port 8000.
|
|
|
|
services:
|
|
alfresco:
|
|
# acs repo community image with ags repo community amp applied
|
|
image: alfresco/alfresco-governance-repository-community:latest
|
|
environment:
|
|
CATALINA_OPTS : "
|
|
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
|
|
"
|
|
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
|
|
-Ddb.username=alfresco
|
|
-Ddb.password=alfresco
|
|
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
|
|
-Dsolr.host=search
|
|
-Dsolr.port=8983
|
|
-Dsolr.secureComms=none
|
|
-Dsolr.base.url=/solr
|
|
-Dindex.subsystem.name=solr6
|
|
-Dalfresco.restApi.basicAuthScheme=true
|
|
-Dimap.server.enabled=true
|
|
-Dimap.server.port=1143
|
|
-Dftp.enabled=true
|
|
-Dftp.port=1221
|
|
-Dftp.dataPortFrom=30000
|
|
-Dftp.dataPortTo=30099
|
|
-Dshare.host=localhost
|
|
-Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
|
|
-Dmessaging.broker.url=\"failover:(tcp://activemq:61616)?timeout=3000&jms.useCompression=true\"
|
|
-DlocalTransform.core-aio.url=http://transform-core-aio:8090/
|
|
"
|
|
ports:
|
|
- 8080:8080
|
|
- 8000:8000
|
|
- 1143:1143
|
|
- "21:1221"
|
|
- "30000-30099:30000-30099"
|
|
|
|
postgres:
|
|
image: library/postgres:${POSTGRES_TAG}
|
|
environment:
|
|
- POSTGRES_PASSWORD=alfresco
|
|
- POSTGRES_USER=alfresco
|
|
- POSTGRES_DB=alfresco
|
|
ports:
|
|
- 5432:5432
|
|
|
|
search:
|
|
image: alfresco/alfresco-search-services:${SOLR6_TAG}
|
|
environment:
|
|
#Solr needs to know how to register itself with Alfresco
|
|
- SOLR_ALFRESCO_HOST=alfresco
|
|
- SOLR_ALFRESCO_PORT=8080
|
|
#Alfresco needs to know how to call solr
|
|
- SOLR_SOLR_HOST=search
|
|
- SOLR_SOLR_PORT=8983
|
|
#Create the default alfresco and archive cores
|
|
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
|
|
#HTTP by default
|
|
- ALFRESCO_SECURE_COMMS=none
|
|
ports:
|
|
- 8083:8983 #Browser port
|
|
|
|
activemq:
|
|
image: alfresco/alfresco-activemq:${ACTIVEMQ_TAG}
|
|
ports:
|
|
- 8161:8161 # Web Console
|
|
- 5672:5672 # AMQP
|
|
- 61616:61616 # OpenWire
|
|
- 61613:61613 # STOMP
|
|
|
|
transform-core-aio:
|
|
image: alfresco/alfresco-transform-core-aio:${TRANSFORMERS_TAG}
|
|
environment:
|
|
JAVA_OPTS: " -Xms256m -Xmx512m"
|
|
ports:
|
|
- 8090:8090
|