From d2dfc4b4b8267ef68fa087755e5fb23ae7119827 Mon Sep 17 00:00:00 2001 From: Thibaud Antignac Date: Fri, 15 May 2020 22:07:05 +0200 Subject: [PATCH] Fix docker -v to pass host directory --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fdbda4..28427fb 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ 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` +* Run with persistent data: `docker run -d -p 3000:3000 -p 3001:3001 -v ${PWD}/data/blob:/cryptpad/blob -v ${PWD}/data/block:/cryptpad/block -v ${PWD}/customize:/cryptpad/customize -v ${PWD}/data/data:/cryptpad/data -v ${PWD}/data/files:/cryptpad/datastore promasu/cryptpad` ### Docker-compose