Commit Graph

83 Commits

Author SHA1 Message Date
Abhilash Raj
3c21c15745 Remove pin on old versions. 2020-11-08 19:41:37 -08:00
Abhilash Raj
aec782d539 Bump Core to 3.3.2 2020-11-08 13:21:21 -08:00
Abhilash Raj
c5a2084ae0 Pin flufl.lock to <5.0 to prevent against incompatibility. 2020-09-23 08:59:24 -07:00
Abhilash Raj
4487adefa8 Include dnspython dependency in quotes
Not using quotes mean the shell considers `<` as the redirection
from a file called 2.0

Fixes #399
2020-09-10 22:12:55 -07:00
Abhilash Raj
bd7d283447 Downgrade dnspython to < 2.0 2020-09-10 10:14:38 -07:00
Danil Smirnov
2b84aea40f Update README.md 2020-08-25 16:18:25 +03:00
Danil Smirnov
26327e7389 Won't append configuration to avoid parameters duplication 2020-08-25 13:08:14 +00:00
Danil Smirnov
8284936454 Respect gunicorn.cfg shipped with Mailman core 2020-08-24 14:07:09 +00:00
Danil Smirnov
20fbfe6e77 Suggested change in core/docker-entrypoint.sh
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2020-08-24 16:52:00 +03:00
Danil Smirnov
071737f72d Suggested change in core/README.md
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2020-08-24 16:51:49 +03:00
Danil Smirnov
06d3665921 Updating README 2020-08-23 11:21:47 +00:00
Danil Smirnov
6774539d29 Making Gunicorn configurable 2020-08-23 11:06:18 +00:00
Abhilash Raj
e76bb3a1ff Bump to use Alpine 3.12 since 3.8 is now EOL. (#390)
* Bump to use Alpine 3.12 since 3.8 is now EOL.

* Manually install pip in all images.

* Rename all py- modules to py3- modules.

* Replace mysqldb with mysqlclient library for Mysql support in web.
2020-08-04 00:16:42 -07:00
Abhilash Raj
07a7c1ce68 Bump Mailmanclient and upgrade setuptools and wheel in images. (#389)
* Bump Mailmanclient.
* Add linux-headers package for psutils.
* Update setuptools and wheel everywhere.
* Use Postorius 1.3.3 in Postorius image.
2020-08-02 12:42:36 -07:00
Abhilash Raj
d502b34f21 Bump Mailaman components. (#378)
* Bump Mailaman-web components.

* Bump mailman core
2020-06-12 19:03:50 -07:00
Abhilash Raj
9ebc27138e Fix issues with gunicorn 20.0.0 (#350)
* Fix latest version of gunicorn.

* Use older version of gunicorn.
2019-11-17 17:47:01 -08:00
Abhilash Raj
7965824453 Bump to latest 0.3.0 release. (#347) 2019-10-13 20:13:23 -07:00
Marvin Greenberg
6f26dc9145 Fix minor typo in docker-entrypoint.sh (#345) 2019-09-08 17:29:29 -07:00
Joren Vrancken
ffbdda51eb Rename non-existent HYPERKITTY_API_URL to HYPERKITTY_URL in core readme. 2019-06-20 20:19:45 +02:00
Abhilash Raj
d93dd4b02b Bump Core to 3.2.2 2019-03-29 14:28:26 -07:00
Abhilash Raj
0a7bbc1e87 Fix typo 2019-02-09 10:15:03 -08:00
Abhilash Raj
c5d84bfeab Use alpine images instead of Python. (#290)
* Use alpine images instead of Python.

* Minor fix to use python3 -m pip

* Fix settings for paintstore.
2019-01-20 16:39:11 -08:00
Abhilash Raj
274965cced Update stable containers to 3.2 suite release. 2018-07-26 20:53:07 -07:00
Christoph Wagner
6d1ea69bb1 fix container build by adding libffi-dev 2018-07-04 20:25:53 +02:00
Christoph Wagner
bf6689a45e fix mailman.cfg issue
We have to append ">>" to /etc/mailman.cfg and not to overwrite previously written content with ">".
Problem was that the database config made in setup_database was overriden.
2018-07-04 20:18:55 +02:00
richardbrinkman
ccf690b0a0 Fix #210: introduce MTA variable (#237)
* Fix #210: introduce MTA variable

* Fix: typo

* Fix: postfix configuration

* Del: temporary files
2018-06-19 09:09:00 -07:00
Andrew Hodgson
5b07e9278a Update Exim config file examples 2018-06-05 14:26:05 +01:00
Abhilash Raj
6af3c86832 Update README.md 2018-04-22 22:51:36 -07:00
skoranda
5a8e7f02fc Inject REST port, user, password from environment (#220)
Enable the port, user, and password used by Core for the REST API to be
injected using environment variables.
2018-03-09 23:24:20 -08:00
Abhilash Raj
735f8746dc Update Core and Postorius to new releases. 2017-11-21 01:27:01 -08:00
Jonas Thiem
d846f1c763 Add code for auto-detecting database class for common cases (issue #137 ) (#150)
* Add code for auto-detecting database class for common cases.

* Fix unintentional space indentation instead of proper tab indentation

* Fix another left-over spaces indentation (sorry)
2017-11-15 19:11:08 -08:00
Abhilash Raj
3434446987 Create rolling releases using the Gitlab API. (#171)
* Create rolling releases using the Gitlab API.

This commit builds rolling releases of Container images using the latest commit
on master branch if the pipeline passed for it. The script which gets the
references is still un-tested and should be tested.

The latest commit hashes are passed as arguments to the Dockerfile, which is
then used by PIP to install the specific version of the dependency.
2017-11-03 18:43:59 -07:00
Abhilash Raj
743bc8522c Force start mailman inside the container.
Even though the 'master.lck' is supposed to prevent race conditions, it needs to
be manually removed if the container did not shutdown gracefully. Remove the
manual check for the lock file and force mailman to remove it.

Also, set the stop_grace_period to 30s, which would allow Core to stop
gracefully and not leave the lock file over. Default value in case of Docker is 10s.
2017-11-03 10:59:08 -07:00
Abhilash Raj
a74497d21e Pin the version of alembic to 0.9.5 to prevent errors. 2017-10-23 22:04:49 -07:00
Abhilash Raj
ba682509f4 Fix the URLs for development versions of images. 2017-10-09 23:14:22 -07:00
Abhilash Raj
b3b0c3165f Create containers using the master git branches (#153)
Use the master branches from Gitlab to build development container images.
2017-10-07 16:03:50 -07:00
Jonas Thiem
8f702ee98e Add automatic rewrite of mysql:// database to add backend 2017-10-02 23:50:30 +02:00
Abhilash Raj
afb8f09eff Fix MySQL compatibility in the docker images. (#140)
* Fix MySQL compatibility in the docker images.

* Test the containers with MySQL containers too!
2017-09-30 20:38:33 -07:00
Abhilash Raj
b477b891b6 Change build script to build latest release versions if not in CI (#115)
Build.sh can build the latest versions of the images using the VERSION file under the two repos (core & web).
2017-08-09 16:34:01 -07:00
Tatsuyuki Ishi
5b20021b91 Rename entrypoint script 2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
3525682741 Remove duplicated HYPERKITTY_URL default 2017-07-25 09:10:57 +09:00
Abhilash Raj
a7ab6509f1 Set MM_HOSTNAME to hostname -i. 2017-07-23 13:55:23 -07:00
Abhilash Raj
5fb1a19d18 Add pymysql to the Core container to interact with MySQL db. (#80)
Add pymysql to the Core container to interact with MySQL db.
2017-07-20 15:31:10 -07:00
Abhilash Raj
84dac7ae42 Database configuration should be set properly when using sqlite. (#78)
This will fix the default settings for sqlite database when running mailman-core image.
2017-07-20 15:01:23 -07:00
Abhilash Raj
fb5b8c8410 Run mailman aliases to generate LMTP files when running Core. (#77)
* Run mailman aliases to generate LMTP files when running Core.

* Change the order of commands in entrypoint.
2017-07-20 12:42:35 -07:00
Christian Rose
f6f4d36d64 Merge PR from @chrros95
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
2017-07-13 16:53:22 -07:00
Rémon S
17aede3614 Update run.sh (#68)
Fix a typo in Core's run.sh
2017-07-09 15:33:05 -07:00
maxking
b16e4aae82 Fix postfix configuration for core. 2017-06-11 14:17:18 -07:00
Abhilash Raj
bb93477b0d Add configuration for postfix to core image. Add docs. 2017-05-30 14:46:39 -07:00
Abhilash Raj
f920f88165 Put the mailman.cfg in /etc instead of custom /config/ dir. (#39) 2017-05-28 13:17:13 -07:00