Skip to content

Docker based test setup for MongoDB to Neo4j connection via mongo-connector.

Notifications You must be signed in to change notification settings

JoergM/neomongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

NeoMongo

A docker-compose based test setup for the neo4j_doc_manager that automatically transfers MongoDB data into neo4j using the Mongo-Connector.

Please see both projects for more information:

Usage

Docker and Docker-Compose need to be installed.

Checkout this repository then cd into the directory and start the docker containers using:

docker-compose up -d

In the first run the connector will not work as the MongoDB Replicaset needs to be initiated first.

Connect to the MongoDB using the shell:

docker exec -ti neomongo_mongo_1 mongo

Then initiate the replicaset using:

rs.initiate()

Now start the connector again using:

docker-compose up -d

The setup is ready to go.

Experimenting with the Connector

You can connect to the neo4j by pointing your browser to:

http://<docker-host>:7474

You can connect to MongoDB using the shell:

docker exec -ti neomongo_mongo_1 mongo

or by using any other MongoDB client using the mongoUri:

mongodb://<docker-host>:27017

The neo4j_doc_manager documentation has a number of examples that should get you started.

Have fun!

About

Docker based test setup for MongoDB to Neo4j connection via mongo-connector.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •