Files
OSIT-Mailman3/docker-compose.yaml
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

23 lines
461 B
YAML

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