I want to be able to distribute docker-compose.yaml without any dependencies. In
order to do that, I should make it pull stable images from hub.docker.com
instead of trying to build them locally. This will avoid users running untested
code from the github repo instead of using the tested version on docker hub.
- Add hostnames to the container.
- Add a custom bridge network so that the containers and the host can have
a static IP and that can be added in the configurations.
- Assign static IPs to all the containers in the new default configuration.
- 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.
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.