jurra / rockin-webapp

A simple data entry webapp to enter rock sample data from wells drilled at TU Delft
MIT License
0 stars 0 forks source link

Environment variables not properly passed to settings.py in production #5

Open jurra opened 1 year ago

jurra commented 1 year ago

Currently we load the env variables like this in rocking/settings.py :

load_dotenv()

# ....

ALLOWED_HOSTS = [
    'localhost', os.getenv('APP_HOST')
]

#...

However I an not sure this is the right approach when passing environment variables from the docker-compose setup instead an .env file.