Code Monkey home page Code Monkey logo

docker-openresty's Introduction

docker-openresty

My own build of Openresty for use in Docker, including LuaRocks.

Configuration and Paths

  • Install directory: /usr/local/openresty
  • Custom Lua library path: /data/openresty/lualib

Configurable Parameters

A collection of docker-entrypoint scripts execute at runtime to generate configuration files for Openresty to include, enabling for configuration of global settings via environment variables.

Variable Name Default Value
NGINX__ERROR_LOG_LEVEL info
NGINX__WORKER_CONNECTIONS 2048
NGINX__WORKER_PROCESSES 1
NGINX__HTTP__LOG_PATH__ACCESS /dev/stdout
NGINX__HTTP__LOG_CONFIG__ACCESS "/dev/stdout combined"
NGINX__HTTP__LOG_PATH__ERROR /dev/stderr
NGINX__HTTP__PROXY__TEMP_PATH /var/tmp/nginx/tmp_proxy
NGINX__HTTP__CLIENT_BODY__TEMP_PATH /var/tmp/nginx/tmp_client_body
NGINX__FCGI__PROXY__TEMP_PATH /var/tmp/nginx/tmp_fcgi
NGINX__RESOLVER 8.8.8.8
NGINX__KEEPALIVE_TIMEOUT 65
NGINX__COMPRESSION_TYPES text/plain text/css ...
NGINX__BROTLI on
NGINX__BROTLI_STATIC off
NGINX__BROTLI_COMP_LEVEL 6
NGINX__BROTLI_WINDOW 512k
NGINX__BROTLI_MIN_LENGTH 20

Extra Lua Libraries Installed:

  • lua-resty-template
  • lua-resty-validation
  • lua-resty-uuid
  • lua-resty-reqargs
  • lua-resty-session
  • lua-resty-http

docker-openresty's People

Contributors

brandonpapworth avatar

Stargazers

 avatar

Watchers

 avatar

docker-openresty's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.