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:
@@ -15,4 +15,6 @@ ADD assets/pidproxy.py /opt/pidproxy.py
|
||||
# Change the working directory.
|
||||
WORKDIR /opt/mailman
|
||||
|
||||
EXPOSE 8001
|
||||
|
||||
CMD /opt/run.sh
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user