The Web API for MongoDB
This is a premade stack designed to reduce friction on adopt MongoDB with RESTHeart.
Releases and Release Notes
- MongoDB (without authentication)
--email@example.com:docker-gallery/RESTheart.git |--docker-compose.yml (1) |--readme.md |--restheart |--config |--restheart.yml (2) |--security.yml (3)
1 - docker-compose.yml
Docker Compose file used do declare configurations about both services (restheart and mongodb).
2 - restheart.yml
Used to configure RESTHeart.
Take a look at line 69:
mongo-uri: mongodb://mongodb defines a connectionstring to work with mongodb.
3 - security.yml
Used to configure authentication and authorization on RESTHeart, by default i've produced some rules, like:
- Anonymus Uses can only read the
publicdbdatabase data (only if you create the database with name
adminuser has password
admin, they has
adminsrole and can do everything.
useruser has password
user, they has
usersrole and can do everything only on
- On any docker environment
- There we go! ` Run
git clone https://github.com/docker-gallery/RESTheart.git cd ./RESTheart docker-compose up