From 8d3c4987f045de469bb94eb86639fdde7c3d562e Mon Sep 17 00:00:00 2001 From: Brian Long Date: Thu, 17 Dec 2020 21:26:03 -0500 Subject: [PATCH 1/2] 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/2] 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