Ability to set MongoDB database name #906
Labels
bug
Something isn't working
good first issue
Great issues for new Athenians to work on!
storage
work to do on one or more of our storage systems
Is your feature request related to a problem? Please describe.
I deployed athens to heroku. If I wanted to use the sandbox mLab offering of mongoDB for example I'd have to take their automatically generated database name (something like
heroku_aowd89adw
which wouldn't beathens
.athens
is currently required by this storage driver implementation.At the moment we hardcode the database name as
athens
and there's aTODO
to make a better solution.Describe the solution you'd like
Either creating environment variables for the database inline with our current environment variable naming or my preffered solution is reading the
[/database]
frommgo.ParseURL
Describe alternatives you've considered
Leave it as it'd be and force users to have
athens
as their database name.Additional context
Some discussion around the subject https://gophers.slack.com/archives/C9LRAQN8N/p1542026809792000
The text was updated successfully, but these errors were encountered: