Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 845 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 845 Bytes

Dockerize And Deploy ASP.NET Core 2.0 + Mysql + Nginx With Docker-Compose

This is an example web application to show how to use ASP.Net Core with MySQL database and use Nginx as reverse proxy, and deploy using Docker-Compose.

How to use?

  1. git clone https://github.com/yanshengjie/Docker.NetCore.MySql.git
  2. cd Docker.NetCore.MySql
  3. docker-compose up -d
  4. curl -i http://localhost:9090/api/products

For detail reference:.NET Core+MySql+Nginx 容器化部署

Reference

  1. mysql -Docker Documentation
  2. Hello Docker
  3. .NET Core容器化@Docker
  4. .NET Core容器化之多容器应用部署@Docker-Compose