Corgam / SS23_ADSP_TCF

An official repository for the "Tangible Climate Futures" project from the ADSP (SS23) course at TU Berlin.
1 stars 2 forks source link

Development: Investigate how to handle our own backend configs #28

Closed guttenberger closed 1 year ago

guttenberger commented 1 year ago

We should have one file describing the configuration of our backend. This file should work with our docker compose file and our server. Maybe using environment variables?

example configs:

Fr3574 commented 1 year ago

@guttenberger what would change for the different environment variables?

Fr3574 commented 1 year ago

@guttenberger and what do you mean by filetypes?

guttenberger commented 1 year ago

what would change for the different environment variables? currently nothing, later maybe if we use s3 or google cloud storage, we will have different dbs stings for testing and production, i think

what do you mean by filetypes? i think it is a best pratice to restrict upload file types that we know will work with our backend. Your current pr does support that so that we don't need to worry about that now.

guttenberger commented 1 year ago

i.g. filetypes :