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.
This commit is contained in:
Abhilash Raj
2017-03-29 16:30:25 -07:00
parent 5dd6b11660
commit c110bb1d01
12 changed files with 651 additions and 5 deletions

View File

@@ -15,4 +15,6 @@ ADD assets/pidproxy.py /opt/pidproxy.py
# Change the working directory.
WORKDIR /opt/mailman
EXPOSE 8001
CMD /opt/run.sh

View File

@@ -1,7 +1,11 @@
[devmode]
enabled: yes
testing: yes
recipient: you@yourdomain.com
# [devmode]
# enabled: yes
# testing: yes
# recipient: you@yourdomain.com
[webservice]
hostname: 0.0.0.0
[mta]
smtp_port: 9025

View File

@@ -8,4 +8,4 @@ fi
# Run mailman using the pidproxy command which spawns off mailman
# and forwards any signal you send it to the master runner in mailman.
/opt/pidproxy.py /opt/mailman/var/master.pid mailman -C /opt/mailman/mailman.cfg start
/opt/pidproxy.py /opt/mailman/var/master.pid mailman -C /opt/mailman/mailman.cfg start --force