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:
22
docker-compose.yaml
Normal file
22
docker-compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user