Sign inSign up

lintoai/linto-platform-mongodb-migration

Sponsored OSS

By lintoai

•Updated about 4 years ago

Handles mingrations for LinTO Platform Mongo database

Image
Languages & frameworks
Integration & delivery
Databases & storage
0

100K+

lintoai/linto-platform-mongodb-migration repository overview

⁠Linto-Platform-Mongodb-Migration

This services is a one shoot scripts that might migrate LinTO Platform databases content when needed (version bumps, rollbacks...)

⁠Usage

See documentation : doc.linto.ai⁠

⁠Deploy

With our proposed stack linto-platform-stack⁠

⁠Develop

⁠Install project

git clone https://github.com/linto-ai/linto-platform-mongodb-migration.git
linto-platform-mongodb-migration
npm install

⁠Environment

cp .envdefault .env Then update the .env to manage your personal configuration

⁠User

Based on your environment settings, an user may be require to be create

db.createUser({
	user: "LINTO_STACK_MONGODB_USER",
	pwd: "LINTO_STACK_MONGODB_PASSWORD",
	roles: ["readWrite"]
})

⁠RUN

Run de mongodb migration : npm run migrate A database with a set of collection will be create if it's successful.

Tag summary

Content type

Image

Digest

sha256:a3a70befa…

Size

360.2 MB

Last updated

about 4 years ago

docker pull lintoai/linto-platform-mongodb-migration

This week's pulls

Pulls:

898

Sep 14 to Sep 20