# HG changeset patch # User Tom Gottfried # Date 1673525484 -3600 # 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: