mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
d502ba86d9
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
20 lines
501 B
Markdown
20 lines
501 B
Markdown
# Overview
|
|
|
|
A docker configuration to use local installation of mongo db.
|
|
|
|
## Migrate from docker volume based mongo
|
|
|
|
```bash
|
|
./dump-docker.sh # To dump all databases
|
|
./start.sh # to start a local mongodb on ~/.mongo/data folder
|
|
./import.sh # To import all stuff into local mongo database.
|
|
```
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
./start.sh # Will start a local mongo database
|
|
./stop.sh # Will stop a local mongo dabase
|
|
|
|
rush docker:local # Will up all necessary containers and point them into local mongo database
|
|
``` |