mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
persist mongo data between system restarts (don't use /tmp) (#1731)
This commit is contained in:
parent
e41a378df4
commit
6271e4f674
@ -104,8 +104,8 @@ docker run \
|
||||
--name=mongodb \
|
||||
--publish=172.17.0.1:27017:27017 \
|
||||
--restart=always \
|
||||
--volume=/tmp/mongodb_docker/db:/data/db \
|
||||
--volume=/tmp/mongodb_docker/configdb:/data/configdb \
|
||||
--volume=$HOME/mongodb_docker/db:/data/db \
|
||||
--volume=$HOME/mongodb_docker/configdb:/data/configdb \
|
||||
mongo:3.4.1 --replSet=bigchain-rs
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user