From ff22af3343cf4a2a9f944ed70703d62c782ad97f Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 20 Jun 2019 12:15:02 +0200 Subject: [PATCH] do some things with docker which I don't really understand --- Dockerfile | 3 ++- docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7378b14ed..0093f414c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ VOLUME /cryptpad/tasks VOLUME /cryptpad/block VOLUME /cryptpad/blob VOLUME /cryptpad/blobstage +VOLUME /cryptpad/data # Copy cryptpad and tini from the build container COPY --from=build /sbin/tini /sbin/tini @@ -44,4 +45,4 @@ WORKDIR /cryptpad EXPOSE 3000 3001 # Run cryptpad on startup -CMD ["/sbin/tini", "--", "/cryptpad/container-start.sh"] \ No newline at end of file +CMD ["/sbin/tini", "--", "/cryptpad/container-start.sh"] diff --git a/docker-compose.yml b/docker-compose.yml index 8f5f2528d..73673f7dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,3 +31,4 @@ services: - ./data/tasks:/cryptpad/tasks:rw - ./data/block:/cryptpad/block:rw - ./data/config:/cryptpad/cfg:rw + - ./data/data:/cryptpad/data:rw