Skip to content

tsuru/mongoapi

Repository files navigation

mongoapi

Build Status

MongoDB service API for tsuru PaaS.

##Installation and configuration

This API is ready for being deployed as a tsuru application. It depends on the following environment variables:

  • MONGODB_URI: The connection string of the MongoDB server that the API should use. Default value: 127.0.0.1:27017;
  • MONGODB_PUBLIC_URI: URI in the format : used to access the MongoDB server externally. Default value: the value of MONGODB_URI;
  • MONGODB_REPLICA_SET: name of the replica set in use. It's optional, when ommited, the API won't use a replica set;
  • MONGOAPI_DBNAME: name of the database in use to store API metadata.