Files
acs-community-packaging/dev/docker-compose.yml
Damian Ujma c1d1cdfd77 Feature/acs 2562 disallow secure comms none (#1466)
* ACS-2562 Replace secureComms.secret with sharedSecret

* ACS-2562 Replace secureComms.secret with sharedSecret

* ACS-2562 Change SOLR6_TAG to 2.0.3-RC2

* ACS-2471 Remove references to secureComms=none for dev

* ACS-2562 Remove references to secureComms=none for dev
2022-03-04 11:17:08 +01:00

58 lines
1.8 KiB
YAML

# This docker-compose file will start up the environment needed for testing with T-Engines, ActiveMQ etc.
# Based on the community version in acs-deployment
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"
services:
transform-core-aio:
image: alfresco/alfresco-transform-core-aio:2.5.7-A6
mem_limit: 1536m
environment:
JAVA_OPTS: " -Xms256m -Xmx1536m"
ports:
- 8090:8090
postgres:
image: postgres:13.3
mem_limit: 512m
environment:
- POSTGRES_PASSWORD=alfresco
- POSTGRES_USER=alfresco
- POSTGRES_DB=alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG
ports:
- 5432:5432
solr6:
image: alfresco/alfresco-search-services:2.0.3-RC2
mem_limit: 2g
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: "solr6"
SOLR_SOLR_PORT: "8983"
#Create the default alfresco and archive cores
SOLR_CREATE_ALFRESCO_DEFAULTS: "alfresco,archive"
#HTTP by default
ALFRESCO_SECURE_COMMS: "secret"
JAVA_TOOL_OPTIONS:
"
-Dalfresco.secureComms.secret=secret
"
SOLR_JAVA_MEM: "-Xms2g -Xmx2g"
ports:
- 8083:8983 #Browser port
activemq:
image: alfresco/alfresco-activemq:5.16.1
mem_limit: 1g
ports:
- 8161:8161 # Web Console
- 5672:5672 # AMQP
- 61616:61616 # OpenWire
- 61613:61613 # STOMP