Open jurra opened 1 year ago
Currently we load the env variables like this in rocking/settings.py :
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.
Currently we load the env variables like this in
rocking/settings.py
:However I an not sure this is the right approach when passing environment variables from the docker-compose setup instead an .env file.