This repository contains Dockerfile of nginx-basic-auth for Docker's automated build published to the public Docker Hub Registry.
-
Install Docker.
-
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
)
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