208 Commits

Author SHA1 Message Date
Abhilash Raj
7f4cb3190a Create logs and copy settings_local.py
- If the logs file doesn't exist, create it so that django doesn't complain about
  non-existent log files.
- If the settings_local.py exist, copy it too along with settings.py
2017-04-06 13:26:49 -07:00
Abhilash Raj
c40fcbe3dd Enable security options in django settings. 2017-04-06 13:01:20 -07:00
Abhilash Raj
b863cb0767 Add a missing comma in settings. 2017-04-06 12:46:26 -07:00
Abhilash Raj
add2ca06ea Add django settings file for mailman-web container. 2017-04-05 00:25:01 -07:00
Abhilash Raj
20d2708a0e Serve static files directly from uwsgi for now. 2017-03-29 23:11:13 -07:00
Abhilash Raj
12e8b04128 Add psycopg2 in mailman-web container.
Copy the settings file from /opt/mailman/web/ in the host system which
is supposed to be mounted at /opt/mailman-web-data/ in the container.
2017-03-29 22:27:06 -07:00
Abhilash Raj
131d1c0b8a Add a postgres database container.
- Set environemnt variables for Postgresql database in the compose file
- Set environment variables for uwsgi in the compose file
- Check if the postgresql container is up and accepting connections before
  running any actual services.
2017-03-29 21:58:40 -07:00
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