Sign inSign up

brandonpapworth/openresty

By brandonpapworth

•Updated over 9 years ago

A customized, opinionated build of Openresty.

Artifact
Image
1

2.0K

brandonpapworth/openresty repository overview

⁠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 NameDefault Value
NGINX__ERROR_LOG_LEVELinfo
NGINX__WORKER_CONNECTIONS2048
NGINX__WORKER_PROCESSES1
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__RESOLVER8.8.8.8
NGINX__KEEPALIVE_TIMEOUT65
NGINX__COMPRESSION_TYPEStext/plain text/css ...
NGINX__BROTLIon
NGINX__BROTLI_STATICoff
NGINX__BROTLI_COMP_LEVEL6
NGINX__BROTLI_WINDOW512k
NGINX__BROTLI_MIN_LENGTH20

⁠Extra Lua Libraries Installed:

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

Tag summary

Content type

Image

Digest

Size

174.3 MB

Last updated

over 9 years ago

docker pull brandonpapworth/openresty