This a distributed system based chat application made using Django Channels, Postgres and MongoDB.
In order to run the application as isolated docker container network run following command in terminal of your project directory.
Build images and run containers
docker-compose up --scale app=3
Run migration scripts
docker-compose run app python manage.py migrate
The server is now up and running in http://localhost:8000/ the mapped database volume directory will be created as "data" in your project directory.
In order to setup local development environemnt you can simply create a virtual environment with -env in the end of environment name to ensure it is ignored by .dockerignore and .gitignore. requirements.txt
for individual service is provided in it's directory.