docker: Add Run with volume example

Supersedes https://github.com/ether/etherpad-lite/pull/3631

Co-authored-by: RaymondCavallaro <RaymondCavallaro@users.noreply.github.com>
This commit is contained in:
Pierre Prinetti 2019-11-15 10:44:40 +01:00 committed by muxator
parent 92f07a544b
commit 0b3cf7cc96
1 changed files with 9 additions and 0 deletions

View File

@ -100,3 +100,12 @@ docker run -d \
-e 'ADMIN_PASSWORD=supersecret' \
etherpad/etherpad
```
Run a test instance running DirtyDB on a persistent volume:
```
docker run -d \
-v etherpad_data:/opt/etherpad-lite/var \
-p 9001:9001 \
etherpad/etherpad
```