Public Repository

Last pushed: 2 years ago
Short Description
Nginx image
Full Description

Nginx Image

Usage

docker run[ -p <port>:<port>...][ -v <volume>:<volume>...][ -e <env>=<env>...] qasymphony/nginx:<version>

Description

A base image for Nginx build. It provides an entry point that will, by default, start nginx with configuration file in /conf volume, and log in /logs volume.

Volumes

  • /conf configuration file storage.
  • /logs log storage. Nginx image will write error logs to /logs/error.log.

Environment Variables

  • NGINX_CONF the configuration file location relative to /conf volume. The default value is nginx.conf.

Extra

  • The image will run nginx by default and log the output to stdout. It will override daemon and error_log in the configuration file to the default ones.
  • We can run another command by specify an executables as
    docker run qasymphony/nginx:<version> /bin/bash
    
Docker Pull Command
Owner
qasymphony

Comments (0)