You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/04/29 00:31:02 UTC
[james-project] branch master updated: JAMES-1858 Docker: expose
volumes used for persistence with volumes
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new 69ab5ea JAMES-1858 Docker: expose volumes used for persistence with volumes
69ab5ea is described below
commit 69ab5ea5baee5c90ac4e0429d7f6b899d9bfb65c
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Tue Apr 27 17:07:30 2021 +0700
JAMES-1858 Docker: expose volumes used for persistence with volumes
This helps discoverability of these folders by
docker users...
---
dockerfiles/run/guice/cassandra-ldap/Dockerfile | 2 ++
dockerfiles/run/guice/cassandra/Dockerfile | 2 ++
dockerfiles/run/guice/jpa-smtp/Dockerfile | 4 ++++
dockerfiles/run/guice/jpa/Dockerfile | 4 ++++
4 files changed, 12 insertions(+)
diff --git a/dockerfiles/run/guice/cassandra-ldap/Dockerfile b/dockerfiles/run/guice/cassandra-ldap/Dockerfile
index a2c33a7..ed582ef 100644
--- a/dockerfiles/run/guice/cassandra-ldap/Dockerfile
+++ b/dockerfiles/run/guice/cassandra-ldap/Dockerfile
@@ -31,6 +31,8 @@ ADD destination/glowroot/lib/glowroot-logging-logstash.jar /root/glowroot/lib/gl
ADD destination/glowroot/admin.json /root/glowroot/admin.json
ADD destination/run_james.sh /root/run_james.sh
+# Data for ActiveMQ mailQueue
+VOLUME /root/var
VOLUME /logs
VOLUME /root/conf
VOLUME /root/glowroot/plugins
diff --git a/dockerfiles/run/guice/cassandra/Dockerfile b/dockerfiles/run/guice/cassandra/Dockerfile
index a2c33a7..ed582ef 100644
--- a/dockerfiles/run/guice/cassandra/Dockerfile
+++ b/dockerfiles/run/guice/cassandra/Dockerfile
@@ -31,6 +31,8 @@ ADD destination/glowroot/lib/glowroot-logging-logstash.jar /root/glowroot/lib/gl
ADD destination/glowroot/admin.json /root/glowroot/admin.json
ADD destination/run_james.sh /root/run_james.sh
+# Data for ActiveMQ mailQueue
+VOLUME /root/var
VOLUME /logs
VOLUME /root/conf
VOLUME /root/glowroot/plugins
diff --git a/dockerfiles/run/guice/jpa-smtp/Dockerfile b/dockerfiles/run/guice/jpa-smtp/Dockerfile
index 4d331a1..c758b5d 100644
--- a/dockerfiles/run/guice/jpa-smtp/Dockerfile
+++ b/dockerfiles/run/guice/jpa-smtp/Dockerfile
@@ -33,6 +33,10 @@ VOLUME /logs
VOLUME /root/conf
VOLUME /root/glowroot/plugins
VOLUME /root/glowroot/data
+# Data for ActiveMQ mailQueue
+VOLUME /root/var
+# Data for derby database
+VOLUME /var/store
ENV PATH="$PATH:/root/glowroot/lib" \
JVM_OPTIONS="" \
diff --git a/dockerfiles/run/guice/jpa/Dockerfile b/dockerfiles/run/guice/jpa/Dockerfile
index b07c009..2a10c54 100644
--- a/dockerfiles/run/guice/jpa/Dockerfile
+++ b/dockerfiles/run/guice/jpa/Dockerfile
@@ -35,6 +35,10 @@ VOLUME /logs
VOLUME /root/conf
VOLUME /root/glowroot/plugins
VOLUME /root/glowroot/data
+# Data for ActiveMQ mailQueue
+VOLUME /root/var
+# Data for derby database
+VOLUME /var/store
ENV PATH="$PATH:/root/glowroot/lib" \
JVM_OPTIONS="" \
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org