Public | Automated Build

Last pushed: 4 days ago
Short Description
RESTHeart, the REST API server for MongoDB (http://restheart.org)
Full Description

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.

IMPORTANT: The latest tag here is assigned to SNAPSHOT development builds on the master branch. To run a stable image, always pull using the exact version number, like:

docker pull softinstigate/restheart:3.3.1

Changes in version 3.3

PUT and POST requests don't allow update operators anymore, with the exception of $currentDate that is fully supported. PUT and POST requests containing update operators result in 400 BAD REQUEST response. Update operators are still supported in PATCH requests.

Dockerfile

  • The most recent Dockefile is here.

How to Run

With docker only, first start a MongoDB contained and then RESTHeart's:

docker run -d -e MONGO_INITDB_ROOT_USERNAME='restheart' -e MONGO_INITDB_ROOT_PASSWORD='R3ste4rt!' --name mongodb mongo:3.6 --bind_ip_all --auth
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

  • username: admin
  • password: changeit

Please refer to the official documentation for more detailed information.

Docker Pull Command
Owner
softinstigate
Source Repository