dokku-mongodb-plugin
dokku-mongodb-plugin copied to clipboard
Plugin to setup Mongodb accounts for containers deployed to Dokku
I'm trying to deploy two nodeJS apps to dokku. I did the following ``` dokku mongodb:create app dokku mongodb:create admin ``` Then ``` dokku config app dokku config admin ```...
I was just about to modify the plugin to accept an extra argument to specify what database should be linked to an app. This is useful if two apps share...
``` $ dokku mongodb:delete app { "dropped" : "app-production", "ok" : 1 } -----> Unsetting MONGODB_DATABASE and restarting app -----> Releasing app ... [...] -----> Deploy complete! -----> Unsetting MONGODB_HOST...
it'd be nice if we could use a custom config file to override `/etc/mongodb.conf`, such as for enabling [oplog](http://loosexaml.wordpress.com/2012/09/03/how-to-get-a-mongodb-oplog-without-a-full-replica-set/). or is this already possible and i don't realize?
Added: mongo $mongodb_public_ip:$mongodb_port/$mongodb_database --quiet -u admin -p"$admin_pass" --authenticationDatabase="admin" --eval "db.dropUser(\"${APP}\")" to counter the: mongo $mongodb_public_ip:$mongodb_port/$mongodb_database --quiet -u admin -p"$admin_pass" --authenticationDatabase="admin" --eval "db.createUser({user: \"${mongodb_username}\", pwd: \"${mongodb_password}\", roles : [{ role :...
I'm using dokku to deploy dev/staging/production environments for my app and I'd love a way to have the databases named based on the environment. I'm not sure what the best...
I keep receiving a code 18 "auth fails" when trying to run mongoexport...any tips on connecting to dokku mongodb instance with mongoexport?