For more details on the Slack workflow, please refer to my previous Slack driven development post. I built this composition for hosting a Django server that is easy to debug using a Slack integration because it publishes exceptions and automatically converts rst documentation into stylized html via the sphinx-bootstrap-theme with bootstrap and includes multiple bootswatch themes. The Django server also comes with two AJAX examples in the dj-ajax-demo.js file. There is also a way to run the Django server locally without docker and without uWSGI using the debug-django.sh script. By default the nginx container is running in non-ssl mode, but the container and repo include an ssl.conf file as a reference for extending as needed. For now, this runs Django 1.9 in uWSGI mode and publishes errors directly to a configurable Slack channel for debugging. It uses docker compose to deploy two containers ( django-nginx and django-slack-sphinx) and shares a mounted host volume between the two containers. I built this to make running a Django + nginx website easier (and for decoupling my sites from only running on AWS EC2 AMIs). This is a repository for deploying a Django + nginx stack using docker compose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |