diff --git a/docker-compose.yml b/docker-compose.yml index ea34bac..7bd9c8e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,6 +62,7 @@ services: - shared-file-store volumes: - "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro" + - acsbin-volume:/usr/local/tomcat/alf_data:rw transform-router: image: quay.io/alfresco/alfresco-transform-router:1.3.1 @@ -121,6 +122,8 @@ services: - POSTGRES_USER=alfresco - POSTGRES_DB=alfresco command: postgres -c max_connections=300 -c log_min_messages=LOG + volumes: + - acsdb-volume:/var/lib/postgresql/data:rw search: image: alfresco/alfresco-search-services:2.0.1 @@ -132,10 +135,14 @@ services: - SOLR_SOLR_PORT=8983 - SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive - ALFRESCO_SECURE_COMMS=none + volumes: + - solrindex-volume:/opt/alfresco-search-services/data:rw activemq: image: alfresco/alfresco-activemq:5.15.8 mem_limit: 256m + volumes: + - activemq-volume:/opt/activemq/data:rw sync: image: quay.io/alfresco/service-sync:3.3.3.1 @@ -192,6 +199,7 @@ services: - postgres-aps volumes: - "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro" + - apsbin-volume:/var/lib/postgresql/data:rw activiti-admin: image: alfresco/process-services-admin:1.11.1.1 @@ -217,6 +225,8 @@ services: POSTGRES_USER: alfresco POSTGRES_PASSWORD: alfresco command: postgres -c max_connections=300 -c log_min_messages=LOG + volumes: + - apsdb-volume:/var/lib/postgresql/data:rw postgres-aps-admin: image: postgres:11.6 @@ -226,6 +236,8 @@ services: POSTGRES_USER: alfresco POSTGRES_PASSWORD: alfresco command: postgres -c max_connections=50 -c log_min_messages=LOG + volumes: + - apsadmindb-volume:/var/lib/postgresql/data:rw search-aps: image: elasticsearch:7.6.0 @@ -239,6 +251,8 @@ services: hard: -1 depends_on: - activiti-app + volumes: + - esindex-volume:/var/lib/postgresql/data:rw identity: image: alfresco/alfresco-identity-service:1.3 @@ -275,3 +289,19 @@ volumes: driver_opts: type: tmpfs device: tmpfs + acsbin-volume: + driver: local + acsdb-volume: + driver: local + activemq-volume: + driver: local + solrindex-volume: + driver: local + apsbin-volume: + driver: local + apsdb-volume: + driver: local + apsadmindb-volume: + driver: local + esindex-volume: + driver: local