mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-15 04:25:05 +00:00
Fix Docker CLI commands for local files
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
parent
d2dfc4b4b8
commit
9d9e044673
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ Please see the [migration guide](MIGRATION.md) for further information on switch
|
||||||
### Dockerfile
|
### Dockerfile
|
||||||
|
|
||||||
* Run: `docker run -d -p 3000:3000 -p 3001:3001 promasu/cryptpad`
|
* 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 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 config.js:/cryptpad/config/config.js 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`
|
* 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
|
### Docker-compose
|
||||||
|
|
Loading…
Reference in a new issue