Code Monkey home page Code Monkey logo

container-service-dotnet-continuous-integration-multi-container's Introduction

Sample app for demonstrating continuous integration and deployment of a multi-container Docker app to Azure Container Service

This repository contains a sample Azure multi-container Docker application.

  • service-a: Angular.js sample application with Node.js backend
  • service-b: ASP .NET Core sample service

Run application locally

First, compile the ASP .NET Core application code. This uses a container to isolate build dependencies that is also used by VSTS for continuous integration:

docker-compose -f docker-compose.ci.build.yml run ci-build

(On Windows, you currently need to pass the -d flag to docker-compose run and poll the container to determine when it has completed).

Now build Docker images and run the services:

docker-compose up --build

The frontend service (service-a) will be available at http://localhost:8080.

container-service-dotnet-continuous-integration-multi-container's People

Contributors

spboyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

container-service-dotnet-continuous-integration-multi-container's Issues

Add other labels for marathon config?

What are the names of other available labels like com.microsoft.acs.dcos.marathon.healthcheck.path so I can pass config values like cpu, memory and number of instances to marathon?

Any references that I can use @spboyer?

doesn't work on mac os

hufu@Brads-MBP:~/code/container-service-dotnet-continuous-integration-multi-containe$ docker-compose -f docker-compose.ci.build.yml run ci-build log : Restoring packages for /src/project.json... error: Unable to load the service index for source https://api.nuget.org/v3/index.json. error: An error occurred while sending the request. error: Peer certificate cannot be authenticated with given CA certificates khufu@Brads-MBP:~/code/container-service-dotnet-continuous-integration-multi-container$ docker-compose up --build Building service-b Step 1/5 : FROM microsoft/dotnet:1.0.1-runtime

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.