Sign inSign up

moudixtc/openresty

By moudixtc

Updated almost 9 years ago

Docker image for openresty based on Ubuntu 16.04 LTS

Image
2

189

moudixtc/openresty repository overview

moudixtc/openresty

Docker image for openresty based on Ubuntu 16.04 LTS.

Tags

Usage

The default command copies all the config files under the NGINX_CUSTOM_CONF_DIR, which defaults to /nginx-conf, to the openresty's config directory at /usr/local/openresty/nginx/conf. Therefore, mount your host directory that contains all the config files to override the default configuration.

  1. Use docker's --mount flag
    docker run -d --mount type=bind,source=<CONFIG_DIR_ON_HOST>,destination=/nginx-conf,readonly moudixtc/openresty
    
  2. or the traditional -v flag
    docker run -d -v <CONFIG_DIR_ON_HOST>:/nginx-conf:ro moudixtc/openresty
    

Tag summary

Content type

Image

Digest

Size

83.5 MB

Last updated

almost 9 years ago

docker pull moudixtc/openresty