Skip to content

nginx "Hello World" web app containerized and pushed to GitHub/wheeler0772/docker-web-app.

Notifications You must be signed in to change notification settings

wheeler2889/docker-web-app

Repository files navigation

Introduction

This project is a simple web application that can be dockerized and deployed to the cloud. Where it is deployed depends on the pipeline but the build steps are the same.
We could push this same project to GitHub (wheeler0772) and use GitHub Actions to push to DockerHub. Or we could build the image via an ADO pipeline and push the image to Azure Container Registry, etc.

This project is focused on the Azure DevOps (ADO) and Azure Portal CI/CD.

Since the project is in ADO, we will demo how to build and deploy it using ADO pipelines.

To learn how to build and deploy an image using GitHub Actions and DockerHub, etc. checkout the similare project in GitHub/wheeler2889

Getting Started

Typically the first step in the SDLC for a new developer is to install all of the software and tools locally and run Maven or some other build to verify you have everything setup. But for this project, there is no need to insall anything. You can if you want. But the focus of this project how to build and deploy a simple web application.

There is a similar project in GitHub, but this document assumes the repor is a Azure DeveOps (ADO) Git Repo.

  1. Azure DevOps (ADO)
  2. Azure Portal
  3. DockerHub (0ptional) if you are going to push to DockerHub
  4. APS MAARC Replatform Developer Cheatsheet

Clean Build

Building the application

If you wanted to run the applicatio locally, you would either need install and configure NGINX or Docker and to run the image.

Building and Pushing the Docker Image to..

There a several options for how to build the Docker image and push to a Registry. This project is focused on how to do this in ADO and Azure Portal.

Azure DevOps (ADO) + Azure Portal

Assuming the source code is in a project in ADO Git repos and you want to push the image to Azure Container Registry and run in Azure Services (Web App).

Contribute

TODO: Explain how other users and developers can contribute to make your code better.

If you want to learn more about creating good readme files then refer the following guidelines. You can also seek inspiration from the below readme files:

About

nginx "Hello World" web app containerized and pushed to GitHub/wheeler0772/docker-web-app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published