Skip to content

jediwarpraptor/AspNetCorePostgreSQLDockerApp

 
 

Repository files navigation

ASP.NET Core with PostgreSQL and Docker Demo

Application demo designed to show how ASP.NET Core and PostgreSQL can be run in Docker containers. The app uses Entity Framework to create a simple database that stores Docker commands and examples.

##To run the app with Docker Containers:

###Running the App with Docker Compose

  1. Install Docker for Mac or Docker for Windows (or Docker Toolbox: http://docker.com/toolbox if you have to)

  2. Navigate to src/AspNetCorePostgreSQLDockerApp in a console window

  3. Install Node on your local system and run the following commands in a command window:

    npm install

    npm run tsc:w

  4. Open a separate command prompt window.

  5. Run docker-compose build

  6. Run docker-compose up

  7. Navigate to http://localhost:5000 (http://192.168.99.100:5000 if using Docker Toolbox) in your browser to view the site.

About

ASP.NET Core with PostgreSQL Docker App Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 76.2%
  • HTML 9.8%
  • TypeScript 7.7%
  • JavaScript 4.4%
  • CSS 1.2%
  • Shell 0.7%