FNNDSC / ChRIS_ultron_backEnd

Backend for ChRIS
https://fnndsc.github.io/ChRIS_ultron_backEnd
MIT License
31 stars 100 forks source link

Accept database parameters as Service Binding or URI instead of separate environment variables #596

Open jennydaman opened 5 days ago

jennydaman commented 5 days ago

https://github.com/FNNDSC/ChRIS_ultron_backEnd/blob/ad8da7f6cc811395473b17b3e5cde623a8abf4e1/chris_backend/config/settings/production.py#L50-L56

It would be more convenient if there was one environment variable like DATABASE_URI=postgresql://chris:chris1234@localhost:5432/chris

jennydaman commented 5 days ago

Or, Service Binding: https://servicebinding.io/application-developer/