Skip to content

Docker + Django + Mysql + Ngnix + Gunicorn 的示例,帮助同学们快速理解Docker以及docker-compose的使用

Notifications You must be signed in to change notification settings

Zilinlin/django-docker-tutorial

 
 

Repository files navigation

django-docker-tutorial

《软件工程》,清华大学软件学院

Docker + Django + Mysql + Ngnix + Gunicorn 的示例,帮助同学们快速理解Docker以及docker-compose的使用

安装Docker

Docker-从入门到实践

启动项目

# -d 后台运行
# --build 重新构建image
docker-compose up -d --build

停止项目

docker-compose down

构建镜像

# -t 命名与tag
# . 表示context是当前目录
docker build -t django-test:v1.0.0 .

About

Docker + Django + Mysql + Ngnix + Gunicorn 的示例,帮助同学们快速理解Docker以及docker-compose的使用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.3%
  • CSS 41.8%
  • Python 2.8%
  • Dockerfile 0.1%