mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-22 08:55:04 +00:00
Fix docker -v to pass host directory
This commit is contained in:
parent
35c5e24425
commit
d2dfc4b4b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue