dokku-mongodb-plugin icon indicating copy to clipboard operation
dokku-mongodb-plugin copied to clipboard

mongodb:remove <app> causes 6 deploys in a row

Open ignlg opened this issue 11 years ago • 2 comments
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!

ignlg avatar Jun 05 '14 07:06 ignlg

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).

Prinzhorn avatar Jul 06 '14 10:07 Prinzhorn

+1

nicola avatar Nov 12 '14 18:11 nicola