Closed nanounanue closed 6 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).
os.envion.get
So, the use with docker will be smoother
docker
config.py should be able to take not just database credentials through environment variables but also the db_schema configuration
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