---
title: "Discussion on \"How To Containerize An Asp.NetCore Api and MySQL DataBase with Docker Compose\" | Hashnode"
description: "Discussion on \"How To Containerize An Asp.NetCore Api and MySQL DataBase with Docker Compose\". In this blog post, I am going to be going through how to containerize both a.NetCore API and a MySql Database and connect both together using a docker-compose file. If you are new to Docker you can check out two of my previous posts. containerize-an-..."
url: "https://hashnode.com/posts/how-to-containerize-an-aspnetcore-api-and-mysql-database-with-docker-compose/5ff0946945519f71a3335d99"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Containerize An Asp.NetCore Api and MySQL DataBase with Docker Compose](https://gbengaelebs.hashnode.dev/how-to-containerize-an-aspnetcore-api-and-mysql-database-with-docker-compose?utm_source=hashnode&utm_medium=feed)

In this blog post, I am going to be going through how to containerize both a.NetCore API and a MySql Database and connect both together using a docker-compose file. If you are new to Docker you can check out two of my previous posts. containerize-an-...

Jan 2, 2021 · 11 min read · gbengaelebs.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#aspnet-core](https://hashnode.com/tag/aspnet-core)
-   [#mysql](https://hashnode.com/tag/mysql)

## Written by

[olugbenga Elegberun](https://hashnode.com/@gbengaelebs)

@gbengaelebs · Lagos, Nigeria

  
[View profile](https://hashnode.com/@gbengaelebs)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
