Git Product home page Git Product logo

docker-nginx-healthcheck's Introduction

docker-nginx-healthcheck

This repository hosts the Docker image for Nginx with a pre-configured healthcheck endpoint. It is specifically designed to assist in setting up container platforms before an engineering team has deployed their application. This is commonly needed in scenarios like preparing AWS ECS environments using Infrastructure as Code (IaC) tools such as Terraform.

Purpose

The primary use case for this Docker image is to provide a temporary solution during the infrastructure setup phase. This allows for the configuration of security groups, Application Load Balancers (ALBs), clusters, services, and more, ensuring that everything is in place and operational before the actual application is deployed.

The image is built from the standard Nginx base image and includes a customized configuration that adds a healthcheck endpoint. This endpoint is crucial for verifying that the container is ready to accept HTTP traffic on a designated port. Utilizing this image eliminates the need to manually build, push, and manage an equivalent image, streamlining the setup process.

Features

  • Pre-configured Nginx: Based on the standard Nginx image, enhanced with a healthcheck endpoint.
  • Easy to Deploy: Simplifies the process of setting up infrastructure, especially useful when using IaC methodologies.
  • No Additional Management Required: Avoids the overhead of maintaining custom-built images.

Usage

To use this image, you can pull it from Docker Hub using the following command:

docker pull jshthornton/nginx-healthcheck

As this is built on top of the base nginx image. It supports variable substitution. As such, we provide the following to customize the healthcheck endpoint: NGINX_HEALTH_CHECK_PATH

Development

docker build -t jshthornton/nginx-healthcheck

docker buildx build --platform linux/amd64 -t jshthornton/nginx-healthcheck .

docker-nginx-healthcheck's People

Contributors

jshthornton avatar

Watchers

 avatar

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.