Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.14 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.14 KB

nginx-basic-auth Dockerfile

This repository contains Dockerfile of nginx-basic-auth for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull igortimoshenko/docker-nginx-basic-auth

    (alternatively, you can build an image from Dockerfile: docker build -t="igortimoshenko/docker-nginx-basic-auth" github.com/igortimoshenko/docker-nginx-basic-auth)

Usage

docker run -d \
-p 9200:9200 \
-e TITLE="Elasticsearch Admin" \
-e HOST="elasticsearch" \
-e PORT="9200" \
-e USER="elasticsearch" \
-e PASS="elasticsearch" \
--link elasticsearch:elasticsearch \
igortimoshenko/docker-nginx-basic-auth