Commit Graph

18 Commits

Author SHA1 Message Date
Abhilash Raj
58fc0ce1d1 Merge branch 'main' into fix_sqlite-url 2024-06-08 06:29:18 +05:30
Abhilash Raj
022cb48778 Fix: Add support for new version of django-allauth (#655)
* Fix: Add support for new version of django-allauth

* Use full path for manage.py script
2023-10-02 08:58:36 -07:00
Abhilash Raj
244b73d0f2 fix: Use -P pager=off in the psql commands. (#631)
This allows for non-interactive use and doesn't hang on the user
input in certain conditions, like when the command output is large.

Fixes #610
2023-06-19 20:04:03 -07:00
Abhilash Raj
f22e1ddfca Merge branch 'main' into fix_sqlite-url 2022-06-19 09:58:15 +05:30
Sven Roederer
3a6de9ff76 fix path of SQLITE_URL for Django (postorius + web docker-image)
Startup of images using SQLite database fails as of non-existent database file.
Fix this by using the proper syntax [1] to have the database created at /opt/mailman-web-data/mailmanweb.db

1 - https://github.com/joke2k/django-environ/issues/187#issuecomment-400577114

Signed-off-by: Sven Roederer <sven@geroedel.de>
2022-04-01 00:30:50 +02:00
Pierre-Gildas MILLON
3fbb7e641c Update web & postorius images with similar changes as core 2022-01-02 10:26:20 +01:00
Danil Smirnov
2e9a101a1b Parametrizing Django diskcache path and size (#474)
* Parametrizing Django diskcache path and size

* Cache directory permissions fix
2021-07-18 10:27:36 -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
Abhilash Raj
b5fd50226a Compile all the i18n files installed in the container.
Also, compress the static files offline.
2020-08-22 13:16:41 -07:00
Abhilash Raj
1ae02c70ee Clear the old files when collecting static files. 2020-06-25 22:57:24 -07:00
Simon Hötten
5de4da3b45 chown of settings_local.py to mailman user 2019-04-29 19:52:31 +02:00
Patrick Georgi
561abf6fee Use standard alpine image as base for mailman-web
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.
2019-01-17 00:20:26 +01:00
Abhilash Raj
d26c402617 Fix CI system to work on both Python 2 and 3 (#225)
* 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.
2018-03-09 23:13:57 -08:00
Abhilash Raj
bfefd9fbc3 Update mailman-web to use Python 3 (For rolling releases) (#217)
* 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
2018-03-07 23:22:47 -08:00
Abhilash Raj
5d3ecffa5a Update the example.com name and domain both.
Fixes #122
2017-10-01 16:04:13 -07:00
Abhilash Raj
aa2b8788a6 Rename an old variable left by mistake. 2017-10-01 16:04:13 -07: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