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

22
docker-compose.yaml Normal file
View File

@@ -0,0 +1,22 @@
version: '2'
services:
mailman-core:
build:
context: ./core
image: mailman-core:latest
container_name: mailman-core
volumes:
- /opt/mailman/core:/opt/mailman/
mailman-web:
build:
context: ./web
image: mailman-web:latest
container_name: mailman-web
ports:
- "8000:8000"
depends_on:
- mailman-core
links:
- mailman-core:mailman-core
volumes:
- /opt/mailman/web:/opt/mailman-web-data