Commit Graph

117 Commits

Author SHA1 Message Date
Abhilash Raj
525604bac4 Recreate default domain and fix #94. (#95)
Provided MAILMAN_DEFAULT_DOMAIN environment variable, rename example.com with
the provided domain name. Fix a bug where if the default username exists carry
on without creating the superuser.

Reuse the SERVE_FROM_DOMAIN instead of new MAILMAN_FROM_DOMAIN variable to set
the default Django SITE.
2017-07-26 04:11:58 -07:00
Abhilash Raj
77b260a2ac Create a superuser if environment variables are defined. (#93)
Create a superuser if environment variables are defined.
2017-07-26 03:23:00 -07:00
Abhilash Raj
2af47047bc Merge pull request #89 from ishitatsuyuki/patch-1
Fix uWSGI cron configuration
2017-07-25 20:51:34 -07:00
Abhilash Raj
68e1808f45 Merge branch 'master' into patch-1 2017-07-24 17:23:11 -07:00
Abhilash Raj
d4f6e39cae Merge pull request #90 from ishitatsuyuki/patch-2
Remove duplicated HYPERKITTY_URL default
2017-07-24 17:22:41 -07:00
Tatsuyuki Ishi
13fac22e20 Add quarter_hourly to cron configuration
It is purely optional as there was no job set to run quarter hourly.
2017-07-25 09:18:53 +09:00
Tatsuyuki Ishi
3525682741 Remove duplicated HYPERKITTY_URL default 2017-07-25 09:10:57 +09:00
Tatsuyuki Ishi
70b81d64b5 Fix uWSGI cron configuration
The missing daily routines are also added.
2017-07-25 09:08:02 +09:00
Abhilash Raj
846aa4064f Remove comments from the configuration examples. (#84)
Mailman seems to not take the hanging comments properly.
2017-07-23 14:14:39 -07:00
Abhilash Raj
a7ab6509f1 Set MM_HOSTNAME to hostname -i. 2017-07-23 13:55:23 -07:00
Abhilash Raj
2126bae2a3 Merge pull request #81 from miiichael/patch-1
Corrections to README.md
2017-07-21 17:41:22 -07:00
Michael
cf00937f96 Corrections to README.md
Spelling corrections and some capitalisation and grammar tweaks.
2017-07-21 15:25:03 +08: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
43731112e7 Remove Facebook from default social auth provider. 2017-07-20 15:15:26 -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
Abhilash Raj
5db5740a69 Fix the links in the README. 2017-07-20 11:43:34 -07:00
Abhilash Raj
a361b31923 Switch ports for uwsgi and http. 2017-07-18 19:06:41 -07:00
Abhilash Raj
0c281270aa Update documentation to add more details about configuration. 2017-07-18 19:06:41 -07:00
Johannes Kümmel
3e77e7e51a Fixed a typo (HYPERKITT_API_KEY -> HYPERKITTY_API_KEY) (#70)
Thanks to @jkymmel!
2017-07-14 13:53:10 -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
Abhilash Raj
975bd37efb Document the release and signing process for images. (#57) 2017-06-25 06:19:02 -07:00
Abhilash Raj
e42b6d13a1 Move the compose file to the stable version of images. (#56) 2017-06-25 06:11:41 -07:00
Abhilash Raj
3d896454e1 Update documentation. (#54) 2017-06-19 19:49:01 -07:00
Abhilash Raj
b49edc2fa0 Add user in the image and not container. (#51) 2017-06-14 23:34:55 -07:00
Abhilash Raj
c9304e868d Merge pull request #50 from maxking/docs
Fix a config for postfix in the docs.
2017-06-14 18:04:48 -07:00
maxking
8247dbdffd Fix a config for postfix in the docs. 2017-06-14 17:54:50 -07:00
Abhilash Raj
2ed6a1cdd2 Merge pull request #47 from maxking/fix-postfix
Fix postfix configuration for core.
2017-06-11 14:35:10 -07:00
maxking
b16e4aae82 Fix postfix configuration for core. 2017-06-11 14:17:18 -07:00
Abhilash Raj
a27bfc473a Merge pull request #46 from maxking/docs
Use up -d instead of start when creating first time.
2017-06-10 13:06:33 -07:00
maxking
14122c2214 Use up -d instead of start when creating first time. 2017-06-10 12:55:43 -07:00
Abhilash Raj
43015fb950 Merge pull request #43 from maxking/dev
Add configuration for postfix to core image. Add docs.
2017-05-31 14:14:10 -07:00
Abhilash Raj
bb93477b0d Add configuration for postfix to core image. Add docs. 2017-05-30 14:46:39 -07:00
Abhilash Raj
052ffa4eec Merge pull request #41 from maxking/dev
Improve testing and push to docker hub only if testing succeeds.
2017-05-28 19:52:49 -07:00
Abhilash Raj
98e6401334 Test if the postorius/hk is available too. 2017-05-28 19:34:59 -07:00
Abhilash Raj
7b4376dd1b Push to docker hub only if the build succeeds. 2017-05-28 17:49:01 -07:00
Abhilash Raj
41ecfb35ba Merge pull request #40 from maxking/uwsgi
- Use a config file for uwsgi
- Add qcluster commands to uwsgi as daemons
- Add cron jobs for hyperkitty to uwsgi as crons
- Add a mailman user and run uwsgi as that user
2017-05-28 17:20:26 -07:00
Abhilash Raj
2025f733a9 Add a mailman user and setup loggers. 2017-05-28 17:11:41 -07:00
Abhilash Raj
0ae0a55a42 Specify the database type along with the URL. 2017-05-28 14:59:52 -07:00
Abhilash Raj
4bac2fb236 Add crons and update the uwsgi configuration. 2017-05-28 14:52:09 -07:00
Abhilash Raj
a21097d68e Spin of qcluster command from uwsgi. 2017-05-28 14:28:02 -07:00
Abhilash Raj
7bc5bf5dc4 Use a config file for uwsgi. 2017-05-28 14:21:32 -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
Abhilash Raj
f60511bc45 Pin down mailman release versions. 2017-05-28 12:54:52 -07:00
Abhilash Raj
d24bac22fe Add psql client to check when postgres is up. 2017-05-24 16:04:21 -07:00
Abhilash Raj
f8126d90ba Fix the location of var_dir to check for master lock. 2017-05-24 16:04:21 -07:00
Abhilash Raj
1923d27238 Mysql check still doesn't work. 2017-05-24 16:04:21 -07:00
Abhilash Raj
e5dc77b558 Use the postgres client to check if database is up. 2017-05-24 16:04:21 -07:00
Abhilash Raj
c7fee80c65 Install 3.1.0rc1 from PyPI for the stable image. 2017-05-24 16:04:21 -07:00