35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# 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"
|
|
|
|
services:
|
|
platform:
|
|
image: alfresco/alfresco-content-repository:latest
|
|
environment:
|
|
JAVA_OPTS: "
|
|
-Ddb.driver=com.mysql.jdbc.Driver
|
|
-Ddb.url=jdbc:mysql://mysql-acs:3306/alfresco?useUnicode=yes\\&characterEncoding=UTF-8\\&useSSL=false
|
|
-Dalfresco.host=${PROXY_HOST}
|
|
-Dalfresco.port=${PROXY_PORT}
|
|
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
|
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
|
|
"
|
|
depends_on:
|
|
- mysql-acs
|
|
- activemq
|
|
|
|
mysql-acs:
|
|
image: mysql:latest
|
|
|
|
activemq:
|
|
image: alfresco/alfresco-activemq:latest
|
|
|
|
proxy:
|
|
build: ./nginx-ingress
|
|
image: local/nginx-ingress:acs
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
- platform
|