Fix Docker CLI commands for local files

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
main
Adrian Nöthlich 2020-05-16 20:44:05 +02:00
parent d2dfc4b4b8
commit 9d9e044673
No known key found for this signature in database
GPG Key ID: CBA6B4E35D326EFE
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ Please see the [migration guide](MIGRATION.md) for further information on switch
### Dockerfile
* 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 customizations: `docker run -d -p 3000:3000 -p 3001:3001 -v ${PWD}/customize:/cryptpad/customize promasu/cryptpad`
* Run with configuration: `docker run -d -p 3000:3000 -p 3001:3001 -v ${PWD}/config.js:/cryptpad/config/config.js 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