# 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 -Dsolr.host=search -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\" " depends_on: - postgres-acs - activemq volumes: - acsbin-volume:/usr/local/tomcat/alf_data:rw postgres-acs: image: postgres:latest volumes: - acsdb-volume:/var/lib/postgresql/data:rw search: image: alfresco/alfresco-search-services:latest environment: - SOLR_ALFRESCO_HOST=platform - SOLR_SOLR_HOST=search volumes: - solrindex-volume:/opt/alfresco-search-services/data:rw activemq: image: alfresco/alfresco-activemq:latest volumes: - activemq-volume:/opt/activemq/data:rw proxy: build: ./nginx-ingress image: local/nginx-ingress:acs ports: - 8080:8080 depends_on: - platform volumes: acsbin-volume: driver: local acsdb-volume: driver: local activemq-volume: driver: local solrindex-volume: driver: local