Code Monkey home page Code Monkey logo

aspnetcore-docker's Introduction

ASPNETCore-Docker

Project Details

Project contains 2 core projecs:

  • k8.docker.app.client.user
  • k8.docker.app.server.user

Both the projects are APNET Core WebAPI projects. While setting the project I enabled docker setup for Linus OS for the project as a part of Visual Studio project creation.

Run the Project

  • Download project source using https or SSH
  • Open the project using Visual Studio 2019 or older (not needed if you do not want to run locally)
  • Each of the project has DockerFile, this file hass all the settings required to successfully build image
  • Open DeployImages.ps file in the root. This file has all docker commands which can used to build and run image for client and server Web API project

Build and Run script

######################CLIENT################################################
cd {Your local folder location}\k8.docker.app.client.user
docker build -t k8_client_user:rc2.5 .
docker run -d -p 8080:5001  --name userclient k8_client_user:rc2.5
Start-Process "http://localhost:8080/swagger"

######################SERVER################################################
cd {Your local folder location}\k8.docker.app.server.user
docker build -t k8_server_user:rc2.5 .
docker run -d -p 8081:5002  --name userserver k8_server_user:rc2.5
Start-Process "http://localhost:8081/swagger"

Authors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.