Commit Graph

21 Commits

Author SHA1 Message Date
Pierre-Gildas MILLON
e79800f49b Improve MySQL endpoint ping with custom ports 2021-12-26 19:44:29 +01:00
Abhilash Raj
5b9b22cc09 Update docker-entrypoint.sh 2021-08-18 21:56:30 -07:00
Abhilash Raj
a1a8d7cd37 Run mailman aliases command as mailman user 2021-08-18 01:26:47 +00:00
Danil Smirnov
0d38c5b793 Fixing the default value for MM_HOSTNAME (#454) 2021-04-01 08:41:56 -07:00
pini-gh
c10aa6fce4 Get rid of hard coded IPs (#441)
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
2021-03-15 10:47:13 -07:00
Danil Smirnov
c42c737ff0 Logging improvement 2021-02-28 13:57:50 +02:00
Danil Smirnov
18bb115947 Fixes for Postorius-only deployment 2021-02-28 13:28:04 +02: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
6774539d29 Making Gunicorn configurable 2020-08-23 11:06:18 +00:00
Marvin Greenberg
6f26dc9145 Fix minor typo in docker-entrypoint.sh (#345) 2019-09-08 17:29:29 -07: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
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
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
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
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
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
Tatsuyuki Ishi
5b20021b91 Rename entrypoint script 2017-07-28 17:46:45 +09:00