Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Nginx image

Requirements

You must have Docker >= 1.5.

What's inside

Configuration

Ports

You can bind ports :

  • 80
  • 443

Volumes

You can mount directories :

  • /etc/nginx/sites-enabled : virtual hosts
  • /etc/nginx/certs : certificates
  • /etc/nginx/conf.d : extra configuration files
  • /var/log/nginx : logs
  • /var/www : code

Usage

# pull (auto) and run
docker run \
  -d \
  --name nginx \
  -p 80:80 \
  -p 443:443 \
  -v /opt/docker/nginx/vhost:/etc/nginx/sites-enabled \
  -v /opt/docker/nginx/logs:/var/log/nginx \
  -v /opt/docker/nginx/code:/var/www \
   monsieurchico/nginx
Docker Pull Command
Owner
monsieurchico
Source Repository

Comments (0)