platform/dev/local-mongo
Andrey Sobolev d502ba86d9
UBERF-7690: Local mongo setup configuration (#6335)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-08-15 17:10:29 +07:00
..
.env UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
.gitignore UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
docker-compose.yaml UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
dump.sh UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
import.sh UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
mongod.conf UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
readme.md UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
start.sh UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00
stop.sh UBERF-7690: Local mongo setup configuration (#6335) 2024-08-15 17:10:29 +07:00

Overview

A docker configuration to use local installation of mongo db.

Migrate from docker volume based mongo

./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

./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