* Update uwsgi.ini
Updated uwsgi from the default to the max setting 65535, this resolves an issue with large http headers that can cause 502 gateway errors when accessing mailman web interface.
* Reduce the size from max to what apache2 supports.
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
* Test dependabot for Dockerfiles.
* Also for github actions
* Update dependabot.yml
* Fix urls.py for new versions of Django
* Fix urls.py for postorius.
* Bump dependency on Postgresql.
* Bump dependency on Django
* Add dependency on tzdata.
Add MAILMAN_WEB_SOCIAL_AUTH for social logins
The `MAILMAN_WEB_SOCIAL_AUTH` list contains a default set of social
login provides. This was previously included in `INSTALLED_APPS`.
Separating it to it's own list makes it easier to disable or otherwise
override which social login providers are enabled without the need to
modify `INSTALLED_APPS`.
Older installations where `INSTALLED_APPS` were overridden continues to
work. The `MAILMAN_WEB_SOCIAL_AUTH` is ignored for those and
`INSTALLED_APPS` is used as is.
Replace them with:
* containers' hostnames
* gateway's IP address for default SMTP_HOST
* Core: when SMTP_HOST undef, echo the default value
* docker-compose: add port mapping
* docker-compose: drop network driver conf
* Exim macro: use localhost as LMTP host
* Update README.md
* docker-compose: Limit port mapping to loopback
* Update other docker-compose example files
* Add libffi to all Postorius images.
* Use Django less than a certain version.
* Fix the version constraint.
* Fix uwsgi configuration by using only processes.
This way we can depend on alpine's python3 package which is binary
compatible with the rest of the python packages in the distribution.
This requires spelling out python3 explicitly in several places since
alpine still defaults to python 2 for /usr/bin/python.
* Use old style middleware settings for Python 2.
* Make entrypoint python2 and 3 compatible.
* Fix python command to test for mysql server.
* Bettery docker-entrypoint to work with Python 2 & 3
* Add missing braces.
* Update mailman-web to use Python 3
* Update configuration
* Python 3.6 image.
* Use alpine 3.7
* Use new style middleware
* Use alpine 3.6
* In Python 3, urlparse was renamed to urllib.parse
The default value of SECRET_KEY was hard-coded in the settings.py which would turn out to be used all the time even if people are not forced to change it. So this commit removes that value and instead gets the SECRET_KEY from the environment variable.
Closes#99
Several Changes:
- Uwsgi now listens on two sockets 8080 for http protocol and 8000 for uwsgi protocol
- Add a read_timeout in documentation for Nginx configuration
- Expose 8024 properly in Core image
- Expose 8080 and 8000 both in Web image
- Rearange the commands to get even less number of layers.
- Add SIGINT as stop signal in web because uwsgi needs it shut down gracefully
- Enable threads in default uwsgi configuration
Fix#64, Fix#15