dssg / tyra

Prediction model evaluation
Other
4 stars 1 forks source link

Add support for reading connection string from environment #77

Closed nanounanue closed 6 years ago

nanounanue commented 7 years ago

Besides this approach:

https://github.com/dssg/tyra/blob/eedcbe1cdc210499518f6e8d4efae7005a9d8c29/config.py#L21-L25

Could be useful to read those variables from the environment (using os.envion.get).

So, the use with docker will be smoother

jtwalsh0 commented 7 years ago

config.py should be able to take not just database credentials through environment variables but also the db_schema configuration