From 8d3c4987f045de469bb94eb86639fdde7c3d562e Mon Sep 17 00:00:00 2001 From: Brian Long Date: Thu, 17 Dec 2020 21:26:03 -0500 Subject: [PATCH 1/4] added persistence to platform/db --- docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index fbc506d..9e80c3c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,9 +14,13 @@ services: 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 activemq: image: alfresco/alfresco-activemq:latest @@ -28,3 +32,9 @@ services: - 8080:8080 depends_on: - platform + +volumes: + acsbin-volume: + driver: local + acsdb-volume: + driver: local From 2789af0bd700322013a41aabf2c5d1e98595f966 Mon Sep 17 00:00:00 2001 From: Brian Long Date: Thu, 17 Dec 2020 21:31:57 -0500 Subject: [PATCH 2/4] added persistence to activemq --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 9e80c3c..3b862b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,8 @@ services: activemq: image: alfresco/alfresco-activemq:latest + volumes: + - activemq-volume:/opt/activemq/data:rw proxy: build: ./nginx-ingress @@ -38,3 +40,5 @@ volumes: driver: local acsdb-volume: driver: local + activemq-volume: + driver: local From 7caee29b23f5ab83236f6bdd0981aa98a00dba02 Mon Sep 17 00:00:00 2001 From: Brian Long Date: Wed, 13 Jan 2021 15:30:34 -0500 Subject: [PATCH 3/4] added persistence volumes --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6d844ab..40d6401 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,16 +24,21 @@ services: - activiti-app volumes: - ./activiti-admin.properties:/usr/local/tomcat/lib/activiti-admin.properties + - apsapp-volume:/var/lib/postgresql/data:rw postgres-aps: image: postgres:latest environment: POSTGRES_DB: activiti + volumes: + - apsdb-volume:/var/lib/postgresql/data:rw postgres-aps-admin: image: postgres:latest environment: POSTGRES_DB: activiti-admin + volumes: + - apsadmindb-volume:/var/lib/postgresql/data:rw search-aps: image: elasticsearch:latest @@ -45,6 +50,8 @@ services: hard: -1 depends_on: - activit-app + volumes: + - esindex-volume:/var/lib/postgresql/data:rw proxy: build: ./nginx-ingress @@ -54,3 +61,13 @@ services: depends_on: - activiti-app - activiti-admin + +volumes: + apsbin-volume: + driver: local + apsdb-volume: + driver: local + apsadmindb-volume: + driver: local + esindex-volume: + driver: local From d7ed2df85e6b17fbf2f69455018ed2e001c45509 Mon Sep 17 00:00:00 2001 From: Brian Long Date: Wed, 13 Jan 2021 15:35:30 -0500 Subject: [PATCH 4/4] moved store --- docker-compose.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 40d6401..4dfd5f5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,7 @@ services: - postgres-aps volumes: - "$LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro" + - apsbin-volume:/var/lib/postgresql/data:rw activiti-admin: image: alfresco/process-services-admin:latest @@ -22,9 +23,6 @@ services: depends_on: - postgres-aps-admin - activiti-app - volumes: - - ./activiti-admin.properties:/usr/local/tomcat/lib/activiti-admin.properties - - apsapp-volume:/var/lib/postgresql/data:rw postgres-aps: image: postgres:latest