Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

elsevier-research/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

Consul Nginx image

This image inherits from the nginx image adding support to manage the Nginx configuration through Consul

It includes :

  • S6 Overlay to properly manage multiple services in one container
  • Consul template to manage dynamic configuration based on Consul

Usage

Consul Template

The following example mount the Consul template configuration in the container:

docker run --name nginx-consul -v etc/consul-template:/etc/consul-template:ro -d 1science/nginx:consul

or you can create your own Dockerfile:

FROM 1science/nginx:consul

ADD etc/consul-template /etc/consul-template

Variants

An image based on the lightweight Alpine Linux distribution is available with the tag {version}-alpine.

Load Balancing Sample

The sample application demonstrate how to achieve load balancing with Nginx, Consul and Registrator.

Thanks

We would like to thanks John Regan for his work on the S6 system init which is just awesome.

Build

This project is configured as an automated build in Dockerhub.

Each branch give the related image tag.

License

All the code contained in this repository, unless explicitly stated, is licensed under ISC license.

A copy of the license can be found inside the LICENSE file.

About

Nginx Docker images based on Alpine Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published