Use Docker deploy Django application process and experience

Before deploying Web applications, useless docker, deployed directly on the server, using the django + nginx + supervisor + gunicorn deploy blog application. But later learned docker, impressed by its ideology "Build, Ship and Run Any App, Anywhere", I feel this is too Niubi, so I can try it yourself with a docker deploy Web applications. This article deployment process in order to record my experiences with web applications and docker.

Details page can click to see blog content

Blog:   Ch3nnnnn | toss endless · bored.  

 

Construction of the container:

  1. Django+nginx+uwsgi 容器 (dockerfiles/django-uwsgi-nginx)
  2. MySQL container (mysql: 5.6)

 

Published 131 original articles · won praise 7 · views 30000 +

Guess you like

Origin blog.csdn.net/weixin_43064185/article/details/91972276
Recommended