Skip to content

JRedinger/mongodb-dumper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongodb-dumper

mongodb-dumper runs a full BitClout node and dumps the chain data into a MongoDB database

Build

Running the following commands will create a Docker image called mongodb-dumper:latest.

  1. Checkout mongodb-dumper and core in the same directory

  2. In the mongodb-dumper repo, run the following (you may need sudo):

docker build -t mongodb-dumper -f Dockerfile ..

Run

You may need sudo:

docker run -it mongodb-dumper /bitclout/bin/mongodb-dumper run

Configure the connection to mongodb:

   --mongodb-collection   string    MongoDB collection name  (default "data")
   --mongodb-database     string    MongoDB database name    (default "bitclout")
   --mongodb-uri          string    MongoDB connection URI   (default "mongodb://localhost:27017")

About

Dump BitClout chain data into MongoDB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.1%
  • Dockerfile 2.9%