Enable services with variables and UI
Auto DevOps lets you enable/disable Postgres for your apps via project variables. We should let you control other services as well, and let you control these using a web UI.
In Auto DevOps settings:
- Add checkbox to enable Postgres (checked by default)
- Add checkbox to enable Redis (unchecked by default)
- Add checkbox to enable MySQL (unchecked by default)
- Add checkbox to enable Mongo (unchecked by default)
Way out of scope, but including here for context. Once we have several resources we support, we could support a generic add/remove interface rather than a bunch of checkboxes. Eventually, this could even be a marketplace similar to Heroku's, but ideally based on Helm charts. Also, ideally we'd detect your need for some of these resources and enable/disable as appropriate. e.g. we can inspect a Rails project's
Gemfile for the
pg gem and know that they need Postgres. Lastly, some buildpacks do this automatically, and we could listen to the output of the
release phase of buildpacks and automatically map any services requested to our own versions.
Links / references
What is it? Why should someone use this feature? What is the underlying (business) problem? How do you use this feature?
Who is this for? Provide one or more use cases.
Make sure these are completed before closing the issue, with a link to the relevant commit.