Commit Graph

12 Commits

Author SHA1 Message Date
Abhilash Raj
b49edc2fa0 Add user in the image and not container. (#51) 2017-06-14 23:34:55 -07:00
Abhilash Raj
7bc5bf5dc4 Use a config file for uwsgi. 2017-05-28 14:21:32 -07:00
Abhilash Raj
cda6d2a95a Install django-hyperkitty later so that PyPI version doesn't replace it. 2017-05-23 15:59:05 -07:00
Abhilash Raj
5503fbf79d Use UWSGI_LOGTO environment var to set logging path 2017-05-22 21:41:13 -07:00
Abhilash Raj
f88e8fc87c Remove apt lists to reduce the mailman-web image size. 2017-05-22 21:41:13 -07:00
Abhilash Raj
006d9687ea Upgrade installed packages that were fetched from PyPI. 2017-05-20 16:33:36 -07:00
Abhilash Raj
70afa6daf7 Run uwsgi in CMD. 2017-04-21 16:06:23 -07:00
Abhilash Raj
9a0421ea6d Run mailman using ENTRYPOINT instead of CMD. 2017-04-07 00:51:02 -07:00
Abhilash Raj
ad1aaff624 Several change to mailman-web image.
- Download source code as zip from gitlab instead of git+https because speed.
- Check if the $DATABASE_URL is not defined, use a default sqlite database.
- Use dj-database-url package to set database in django settings using
  DATABASE_URL environment variable.
- Use UWSGI_LOG_URL as the URL for UWSGI logging and set it to a default value
  if it has not been defined.
2017-04-06 17:06:12 -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