coquer / docker-aspnetcore-postgresql

ASP.Net Core Web API with Docker Compose, PostgreSQL and EF Core.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Prerequisites

  1. Docker

Steps

  1. git clone https://github.com/rajvirtual/docker-aspnetcore-postgresql.git

  2. cd docker-aspnetcore-postgresql

  3. docker-compose build

  4. docker-compose up

  5. Navigate to http://localhost:8000/swagger

About

ASP.Net Core Web API with Docker Compose, PostgreSQL and EF Core.


Languages

Language:C# 96.4%Language:Dockerfile 3.6%