# 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=org.postgresql.Driver -Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco -Dalfresco.host=${PROXY_HOST} -Dalfresco.port=${PROXY_PORT} -Dalfresco.protocol=${PROXY_PROTOCOL} -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\" -Ddsync.service.uris=http://localhost:8080/sync " depends_on: - postgres-acs - activemq postgres-acs: image: postgres:latest activemq: image: alfresco/alfresco-activemq:latest sync: image: quay.io/alfresco/service-sync:latest environment: JAVA_OPTS : " -Dsql.db.url=jdbc:postgresql://postgres-acs:5432/alfresco -Dmessaging.broker.host=activemq -Drepo.hostname=platform " depends_on: - postgres-acs - activemq proxy: build: ./nginx-ingress image: local/nginx-ingress:acs-sync ports: - 8080:8080 depends_on: - platform - sync