Sign inSign up

aviata/nginx-mystuff

By aviata

•Updated over 11 years ago

Image
0

259

aviata/nginx-mystuff repository overview

⁠docker-nginx-mystuff

nginx Docker container configured to forward from a VM to mystuff. Based on dockerfile/nginx https://github.com/dockerfile/nginx⁠

⁠Nginx Dockerfile

This repository contains Dockerfile of Nginx⁠ 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 aviata/nginx-mystuff

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

⁠Usage

The "othercontainer" should be listening on port 9000.

docker run -d -p 80:80 --link othercontainer:mystuff aviata/nginx-mystuff
⁠Attach persistent/shared directories
docker run -d -p 80:80 --link othercontainer:mystuff -v <certs-dir>:/etc/nginx/certs -v <log-dir>:/var/log/nginx -v <html-dir>:/var/www/html aviata/nginx-mystuff

After few seconds, open http://<host> to see the welcome page.

Tag summary

Content type

Image

Digest

sha256:a0266a8e1…

Size

168.9 MB

Last updated

over 11 years ago

docker pull aviata/nginx-mystuff