dokku-mongodb-plugin
dokku-mongodb-plugin copied to clipboard
mongodb:remove <app> causes 6 deploys in a row
trafficstars
$ dokku mongodb:delete app
{ "dropped" : "app-production", "ok" : 1 }
-----> Unsetting MONGODB_DATABASE and restarting app
-----> Releasing app ...
[...]
-----> Deploy complete!
-----> Unsetting MONGODB_HOST and restarting app
-----> Releasing app ...
[...]
-----> Deploy complete!
-----> Unsetting MONGODB_USERNAME and restarting app
-----> Releasing app ...
[...]
-----> Deploy complete!
-----> Unsetting MONGODB_PASSWORD and restarting app
-----> Releasing app ...
[...]
-----> Deploy complete!
-----> Unsetting MONGODB_PORT and restarting app
-----> Releasing app ...
[...]
-----> Deploy complete!
-----> Unsetting MONGO_URL and restarting app
-----> Releasing app ...
[...]
-----> Deploy complete!
I guess that's a dokku issue (https://github.com/progrium/dokku/issues/559). This repo correctly unsets them in one call (https://github.com/jeffutter/dokku-mongodb-plugin/blob/19bded58c92b8b3a7a5bee60cba7442862047e31/commands#L141).
+1