# 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 depends_on: - activemq - shared-file-store transform-core-aio: image: alfresco/alfresco-transform-core-aio:latest 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: image: alfresco/alfresco-acs-nginx:latest environment: REPO_URL: "http://platform:8080" depends_on: - platform ports: - 8080:8080 volumes: shared-file-store-volume: driver_opts: type: tmpfs device: tmpfs