wger-project / docker

Production...ish docker-compose image for wger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

settings.py overwritten by settings_global

deboy69 opened this issue · comments

Needing some help with the latest update and migration. Everything went well.

My only issue is that the settings.py or prod.env is being overwritten or not applied by settings.global.

Any insight on why or what I can do to fix this?

Thanks

Do you mean that the settings you are using in the env file are not being used?

correct but think it may be related to your bug report also. Noticed emailes are not being sent through even though it was showing as sent and pything sendtestemail shows completed. Think it has to

if DEBUG:
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
if os.environ.get("ENABLE_EMAIL"):
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

somewhere debug is on and just sends it to console. Just guessing though.

mhhh, strange

I wanted to rework the settings used in the docker image so that it's clearer which ones are changed and which are still the default