Skip to content

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

Notifications You must be signed in to change notification settings

johnsta/multi-container-ci-cd-to-acs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Deploy to Azure Container Service

Follow this tutorial to set up continuous integration and deployment of a multi-container Docker application to an Azure Container Service cluster. The tutorial walks through how to use standard Docker assets in your source repository to drive the creation of build and deploy tasks in Visual Studio Team Services, integrate with the new Azure Container Registry, and promote a release across dev/test/production environments without rebuilding container images.

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.

Deploy to Azure Container Service

TBD

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 45.5%
  • JavaScript 34.6%
  • HTML 17.9%
  • CSS 2.0%