RESTHeart is the leading Web API for MongoDB. It has been tested with MongoDB from release 2.6 to 3.6. Just start it and the REST API is ready to use, opening the data to the Web. Web and Mobile applications can directly use the database via REST HTTP API calls.
latest tag is automatically associated with
SNAPSHOT maven builds on
master branch. If you really want to run a stable docker image, please always pull a exact version number, like
docker pull softinstigate/restheart:3.2.2
- The most recent Dockefile is here.
How to Run
With docker only, first start a MongoDB contained and then RESTHeart's:
docker run -d --name mongodb mongo:3.6
docker run -d -p 80:8080 --name restheart --link mongodb softinstigate/restheart
With docker compose
docker-compose up -d
Finally, open the browser: http://127.0.0.1:8080/browser
The RESTHeart default admin credentials are
Please refer to the official documentation for more detailed information.