MongoDB service API for tsuru.
Go
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
.gitignore
.travis.yml
AUTHORS
CHANGELOG.md
CONTRIBUTORS
LICENSE
Procfile
README.md
bind.go
db.go
db_test.go
doc.txt
handler.go
handler_test.go
main.go
multi_lock.go
multi_lock_test.go
service.yaml
tsuru.yaml

README.md

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.