Commit Graph

19 Commits

Author SHA1 Message Date
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
c7fee80c65 Install 3.1.0rc1 from PyPI for the stable image. 2017-05-24 16:04:21 -07:00
Abhilash Raj
8507eaeed2 Run mailman inside the container as a non-root process. (#31)
* Run as mailman user.

* Run mailman core process as a less-privileged mailman user.

* Add a `docker ps` to travis to know if any container died.

* Spit out more debug information in CI.

* Install su-exec properly.
2017-05-24 15:26:07 -07:00
Abhilash Raj
dbd4b0d5fa Set the MAILMAN_CONFIG_FILE environement variable in Dockerfile. 2017-05-23 17:00:42 -07:00
Abhilash Raj
ac7134801d Point MAILMAN_CONFIG_FILE to the configuration mailman will use. 2017-05-22 21:41:13 -07:00
Abhilash Raj
b747961ab1 Small tweak to reduce the image size.
Removing the build-deps package in a different layer doesn't really help because
of the way layered file systems work. They will exist in the image but appear to
be removed by whiteout files or something. This commit should reduce the size of
the mailman-core image considerably.
2017-04-25 19:49:31 -07:00
Abhilash Raj
2857394872 Move the mailman-core image to apline linux 2017-04-25 18:00:23 -07:00
Abhilash Raj
67089dde74 Directly run the master runner as CMD, instead of mailman start.
`mailman start` command does not nothing but parses the configuration and starts
the appropriate runners. The start command is implemented such that it forks the
master runner, which in-turn starts the all the rest of the runners. It turns
out that `master` is also exported as an console script which can directly be
started instead of running `mailman start` command. This makes containerizing
mailman much more easier.
2017-04-10 01:26:10 -07:00
Abhilash Raj
2907087057 Don't add pidproxy.py since it is not needed anymore. 2017-04-07 02:12:09 -07:00
Abhilash Raj
9a0421ea6d Run mailman using ENTRYPOINT instead of CMD. 2017-04-07 00:51:02 -07:00
Abhilash Raj
e050826abc Download mailman from wget rather than git. 2017-04-05 20:19:18 -07:00
Abhilash Raj
b614f46532 Remove postfix from the default core image. 2017-04-05 20:04:16 -07:00
Abhilash Raj
d04f5b6dc8 Add sane mailman core configuration.
- Add configuration for exim to work with mailman core.
- Add configuration to enable hyperkitty in mailman core.
- Add configuration to enable mailman_hyperkitty plugin.
- Add mailman_hyperkitty plugin and ipython in the core container.
2017-04-05 00:35:42 -07:00
Abhilash Raj
aba3d0fb4a Add postfix to the core container. 2017-03-30 01:32:14 -07:00
Abhilash Raj
131d1c0b8a Add a postgres database container.
- Set environemnt variables for Postgresql database in the compose file
- Set environment variables for uwsgi in the compose file
- Check if the postgresql container is up and accepting connections before
  running any actual services.
2017-03-29 21:58:40 -07:00
Abhilash Raj
c110bb1d01 Add a docker compose configuration and mailman-web
This commit adds a lot of new code including the mailman's web
frontend. It includes a configuration file which can later be
configured to run required configs.

Also, the docker-compose file spins off the containers, sets up
appropriate volumes and links.
2017-03-29 16:30:25 -07:00
Abhilash Raj
b5535d894d Initial mailman core docker container 2017-03-28 17:06:15 -07:00