ASP.Net Core Web API with Docker Compose, PostgreSQL and EF Core.
A simple ASP.NET Core sample web application using .Net Web Api Core and PostgreSQL with Docker support.Both the Web Applicaiton and the Postgres DB runs in container. Added Swagger support to interact with API’s resources.
git clone https://github.com/rajvirtual/docker-aspnetcore-postgresql.git
cd docker-aspnetcore-postgresql
docker-compose build
docker-compose up
Navigate to http://localhost:8000/swagger