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.
21 lines
451 B
Docker
21 lines
451 B
Docker
FROM python:3.5
|
|
|
|
MAINTAINER Abhilash Raj
|
|
|
|
# Install the latest master branch of the mailman directly
|
|
# from the Gitlab.
|
|
RUN pip install git+https://gitlab.com/mailman/mailman.git
|
|
|
|
ADD assets/run.sh /opt/run.sh
|
|
|
|
# Pidproxy is our sort-of process watcher that sends any
|
|
# signal that it receives to the mailman's master process.
|
|
ADD assets/pidproxy.py /opt/pidproxy.py
|
|
|
|
# Change the working directory.
|
|
WORKDIR /opt/mailman
|
|
|
|
EXPOSE 8001
|
|
|
|
CMD /opt/run.sh
|