https://docs.docker.com/install/
pip install django-docker
-
Add "docker" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'docker', ]
-
Run
python manage.py runserver
to check the project works correctly. -
Run
python manage.py docker_all
to create the Dockerfile, create the image and run it (all-in-one) -
Visit http://127.0.0.1:9090/admin/ to check all is working correctly.
Tested with django 1.11, others under study/development.
Apache2 supported, nginx under development
WSGI supported, gunicorn under development
[] Nginx [] Gunicorn [] SSL [] Database configuration [] Support for Django 2.x / python3