[PATCH] Add named volume for DEM data
Wald Commits
scm-commit at wald.intevation.org
Thu Jan 12 13:11:54 CET 2023
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1673525484 -3600
# Thu Jan 12 13:11:24 2023 +0100
# Branch 3.2.x
# Node ID b5d4cb088737db12b3ee82657a30237ae87e603f
# Parent ce7c67445cbbcf0f799580bdb059e0770febe52a
Add named volume for DEM data
diff -r ce7c67445cbb -r b5d4cb088737 docker/Dockerfile.artifacts
--- a/docker/Dockerfile.artifacts Fri Nov 11 18:12:26 2022 +0100
+++ b/docker/Dockerfile.artifacts Thu Jan 12 13:11:24 2023 +0100
@@ -17,6 +17,9 @@
RUN curl -s "https://wald.intevation.org/frs/download.php/2282/$DATA_ARCH" | \
tar -C $DEM_DIR --strip-components=1 --wildcards -xz 'demodaten/dem*.grd'
+# Volume for DEM data
+VOLUME $DEM_DIR
+
WORKDIR /opt/d4e/src
ENV REPO_URL https://scm.wald.intevation.org/hg/dive4elements/
diff -r ce7c67445cbb -r b5d4cb088737 docker/docker-compose.yml
--- a/docker/docker-compose.yml Fri Nov 11 18:12:26 2022 +0100
+++ b/docker/docker-compose.yml Thu Jan 12 13:11:24 2023 +0100
@@ -21,6 +21,7 @@
volumes:
- ../artifacts/doc/conf:/opt/d4e/bin/conf
- artifacts-data:/opt/d4e/bin/artifacts-data
+ - dgm-data:/opt/d4e-river/dgm
# Uncomment to enable remote debugging from anywhere (caution: security risk!)
# environment:
# - JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8787
@@ -74,4 +75,5 @@
name: d4e_river
volumes:
artifacts-data:
+ dgm-data:
wiki-data:
More information about the Dive4Elements-commits
mailing list