On Thu, Sep 16, 2021, at 5:45 AM, bob B wrote:
for version tag you mean the docker images? 509940b4c44f maxking/mailman-web:0.3
mailman-web maxking/mailman-core:0.3
Yeah, the version is basically the version tag. Thanks.
Also this works for /opt/mailman/web/settings_local.py
#allowed_hosts = ['127.0.0.1', 'localhost','Redacted]'] ALLOWED_HOSTS = ['127.0.0.1','localhost','[Redacted]','172.19.199.3','172.19.199.1','172.19.199.4','172.19.199.1'] #ALLOWED_HOSTS = ['*'] DEBUG = True #DEBUG = False EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'Redacted' EMAIL_PORT = 25
But,
if I even add in one line like MAILMAN_WEB_SOCIAL_AUTH = []. so i would have
#allowed_hosts = ['127.0.0.1', 'localhost','Redacted]'] ALLOWED_HOSTS = ['127.0.0.1','localhost','[Redacted]','172.19.199.3','172.19.199.1','172.19.199.4','172.19.199.1'] #ALLOWED_HOSTS = ['*'] DEBUG = True #DEBUG = False EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'Redacted' EMAIL_PORT = 25 MAILMAN_WEB_SOCIAL_AUTH = []
When I try to add the items in tot remove social media, It basically acts like my /opt/mailman/web/settings_local.py. file is ignored and does not load.
Did you re-start your container after editing the settings_local.py file? It will not automatically read new configs.
I do not get debugging.
The most authoritative way to see what the loaded settings are by running:
$ docker exec -it mailman-web python manage.py print_settings
And then look for the keys.
the log says my domian name is not an allowed which is a sympton that this file did not load.
So it appears that adding a section to remove the social media apps, stops this file from being loaded???
MAILMAN_WEB_SOCIAL_AUTH config was added in main branch but isn't released yet. The last release of 0.3.12 can be seen here1
So, it basically should have no effect. If your configs are breaking due to something, it is probably not that.
-- thanks, Abhilash Raj (maxking)