From 35c5e24425da0c5e2e3dece0ea84f89e00c977df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Thu, 7 May 2020 12:19:29 +0200 Subject: [PATCH] Provide docker run command with persistent data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrian Nöthlich --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db600ba..3fdbda4 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,9 @@ Please see the [migration guide](MIGRATION.md) for further information on switch * Run: `docker run -d -p 3000:3000 -p 3001:3001 promasu/cryptpad` * Run with customizations: `docker run -d -p 3000:3000 -p 3001:3001 -v customize:/cryptpad/customize promasu/cryptpad` * Run with configuration: `docker run -d -p 3000:3000 -p 3001:3001 -v config.js:/cryptpad/config/config.js promasu/cryptpad` +* Run with persistent data: `docker run -d -p 3000:3000 -p 3001:3001 -v data/blob:/cryptpad/blob -v data/block:/cryptpad/block -v customize:/cryptpad/customize -v data/data:/cryptpad/data -v data/files:/cryptpad/datastore promasu/cryptpad` ### Docker-compose * Run: `docker-compose up` -* Run with traefik2 labels: `docker-compose -f docker-compose.yml -f traefik2.yml up` \ No newline at end of file +* Run with traefik2 labels: `docker-compose -f docker-compose.yml -f traefik2.yml up`