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:
parent
92f07a544b
commit
0b3cf7cc96
1 changed files with 9 additions and 0 deletions
|
@ -100,3 +100,12 @@ docker run -d \
|
||||||
-e 'ADMIN_PASSWORD=supersecret' \
|
-e 'ADMIN_PASSWORD=supersecret' \
|
||||||
etherpad/etherpad
|
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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue