Open edude03 opened 10 years ago
I have made some changes to this branch: https://github.com/jeffutter/dokku-mongodb-plugin/tree/feature/database-envs
You should be able to get this working as you require like this:
dokku mongodb:create MyApp MyDatabase MyEnv
Where MyEnv is production or test or whatever you like.
I don't have a ton of time to test this thoroughly. Can you give it a trial run please?
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 way would be to achieve this, maybe create can be changed to take a name parameter in the mean time?