60 lines
1.9 KiB
YAML
60 lines
1.9 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.url=jdbc:postgresql://postgres-acs:5432/alfresco
|
|
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
|
|
"
|
|
depends_on:
|
|
- postgres-acs
|
|
- activemq
|
|
- shared-file-store
|
|
|
|
transform-router:
|
|
image: quay.io/alfresco/alfresco-transform-router:latest
|
|
environment:
|
|
ACTIVEMQ_URL: "nio://activemq:61616"
|
|
CORE_AIO_URL : "http://transform-core-aio:8090"
|
|
FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
|
|
depends_on:
|
|
- activemq
|
|
- shared-file-store
|
|
|
|
transform-core-aio:
|
|
image: alfresco/alfresco-transform-core-aio:latest
|
|
environment:
|
|
ACTIVEMQ_URL: "nio://activemq:61616"
|
|
FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
|
|
depends_on:
|
|
- activemq
|
|
- shared-file-store
|
|
|
|
shared-file-store:
|
|
image: alfresco/alfresco-shared-file-store:latest
|
|
|
|
postgres-acs:
|
|
image: postgres:latest
|
|
|
|
activemq:
|
|
image: alfresco/alfresco-activemq:latest
|
|
|
|
proxy:
|
|
build: ./nginx-ingress
|
|
image: local/nginx-ingress:acs
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
- platform
|
|
|
|
volumes:
|
|
shared-file-store-volume:
|
|
driver_opts:
|
|
type: tmpfs
|
|
device: tmpfs
|