From eba7fabe5e7e493b5d36262d149a712f00eece8d Mon Sep 17 00:00:00 2001 From: Yash Nabar Date: Mon, 29 Jun 2020 14:34:53 +0100 Subject: [PATCH] EG-2647: Add persistent Artemis volume (#6389) --- docker/src/docker/Dockerfile | 4 ++++ docker/src/docker/Dockerfile11 | 4 ++++ docker/src/docker/DockerfileAL | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/docker/src/docker/Dockerfile b/docker/src/docker/Dockerfile index 2100ec59f9..d3d287a750 100644 --- a/docker/src/docker/Dockerfile +++ b/docker/src/docker/Dockerfile @@ -7,6 +7,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* && \ mkdir -p /opt/corda/cordapps && \ mkdir -p /opt/corda/persistence && \ + mkdir -p /opt/corda/artemis && \ mkdir -p /opt/corda/certificates && \ mkdir -p /opt/corda/drivers && \ mkdir -p /opt/corda/logs && \ @@ -20,6 +21,7 @@ RUN apt-get update && \ ENV CORDAPPS_FOLDER="/opt/corda/cordapps" \ PERSISTENCE_FOLDER="/opt/corda/persistence" \ + ARTEMIS_FOLDER="/opt/corda/artemis" \ CERTIFICATES_FOLDER="/opt/corda/certificates" \ DRIVERS_FOLDER="/opt/corda/drivers" \ CONFIG_FOLDER="/etc/corda" \ @@ -34,6 +36,8 @@ ENV CORDAPPS_FOLDER="/opt/corda/cordapps" \ VOLUME ["/opt/corda/cordapps"] ##PERSISTENCE FOLDER VOLUME ["/opt/corda/persistence"] +##ARTEMIS FOLDER +VOLUME ["/opt/corda/artemis"] ##CERTS FOLDER VOLUME ["/opt/corda/certificates"] ##OPTIONAL JDBC DRIVERS FOLDER diff --git a/docker/src/docker/Dockerfile11 b/docker/src/docker/Dockerfile11 index dfb5eaa0e3..20b48ddcdc 100644 --- a/docker/src/docker/Dockerfile11 +++ b/docker/src/docker/Dockerfile11 @@ -19,6 +19,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* && \ mkdir -p /opt/corda/cordapps && \ mkdir -p /opt/corda/persistence && \ + mkdir -p /opt/corda/artemis && \ mkdir -p /opt/corda/certificates && \ mkdir -p /opt/corda/drivers && \ mkdir -p /opt/corda/logs && \ @@ -36,6 +37,7 @@ RUN apt-get update && \ ENV CORDAPPS_FOLDER="/opt/corda/cordapps" \ PERSISTENCE_FOLDER="/opt/corda/persistence" \ + ARTEMIS_FOLDER="/opt/corda/artemis" \ CERTIFICATES_FOLDER="/opt/corda/certificates" \ DRIVERS_FOLDER="/opt/corda/drivers" \ CONFIG_FOLDER="/etc/corda" \ @@ -50,6 +52,8 @@ ENV CORDAPPS_FOLDER="/opt/corda/cordapps" \ VOLUME ["/opt/corda/cordapps"] ##PERSISTENCE FOLDER VOLUME ["/opt/corda/persistence"] +##ARTEMIS FOLDER +VOLUME ["/opt/corda/artemis"] ##CERTS FOLDER VOLUME ["/opt/corda/certificates"] ##OPTIONAL JDBC DRIVERS FOLDER diff --git a/docker/src/docker/DockerfileAL b/docker/src/docker/DockerfileAL index b5ce21ab00..f3c8496604 100644 --- a/docker/src/docker/DockerfileAL +++ b/docker/src/docker/DockerfileAL @@ -10,6 +10,7 @@ RUN amazon-linux-extras enable corretto8 && \ rm -rf /var/cache/yum && \ mkdir -p /opt/corda/cordapps && \ mkdir -p /opt/corda/persistence && \ + mkdir -p /opt/corda/artemis && \ mkdir -p /opt/corda/certificates && \ mkdir -p /opt/corda/drivers && \ mkdir -p /opt/corda/logs && \ @@ -23,6 +24,7 @@ RUN amazon-linux-extras enable corretto8 && \ ENV CORDAPPS_FOLDER="/opt/corda/cordapps" \ PERSISTENCE_FOLDER="/opt/corda/persistence" \ + ARTEMIS_FOLDER="/opt/corda/artemis" \ CERTIFICATES_FOLDER="/opt/corda/certificates" \ DRIVERS_FOLDER="/opt/corda/drivers" \ CONFIG_FOLDER="/etc/corda" \ @@ -37,6 +39,8 @@ ENV CORDAPPS_FOLDER="/opt/corda/cordapps" \ VOLUME ["/opt/corda/cordapps"] ##PERSISTENCE FOLDER VOLUME ["/opt/corda/persistence"] +##ARTEMIS FOLDER +VOLUME ["/opt/corda/artemis"] ##CERTS FOLDER VOLUME ["/opt/corda/certificates"] ##OPTIONAL JDBC DRIVERS FOLDER