Docker image for Nginx version 1.16.1 and FPM version 7.3.17.
Please refer to the Nginx Documentation and FPM Documentation for more in-depth information.
Acts as base Docker image for all PHP based services, such as Crayfish, Docker etc. It can be used on it's own as well.
Requires islandora/base
docker image to build. Please refer to the
Base Image README for additional information.
N.B. For all of the settings below images that descend from
islandora/nginx
will apply prefix to every setting. So for examplePHP_LOG_LEVEL
would becomeHOUDINI_PHP_LOG_LEVEL
this is to allow for different settings on a per-service basis.
Environment Variable | Confd Key | Default | Description |
---|---|---|---|
NGINX_CLIENT_MAX_BODY_SIZE | /nginx/client/max/body/size | 1m | Specifies the maximum accepted body size of a client request |
NGINX_ERROR_LOG_LEVEL | /nginx/error/log/level | warn | Log Level of Error log |
NGINX_KEEPALIVE_TIMEOUT | /nginx/keepalive/timeout | 65 | Timeout for keep-alive connections |
NGINX_WORKER_CONNECTIONS | /nginx/worker/connections | 1024 | The maximum number of simultaneous connections that can be opened by a worker process |
NGINX_WORKER_PROCESSES | /nginx/worker/processes | auto | Set number of worker processes automatically based on number of CPU cores |
Environment Variable | Confd Key | Default | Description |
---|---|---|---|
PHP_DEFAULT_SOCKET_TIMEOUT | /php/default/socket/timeout | 60 | Default timeout for socket based streams (seconds) |
PHP_LOG_LEVEL | /php/log/level | notice | Log level. Possible Values: alert, error, warning, notice, debug |
PHP_LOG_LIMIT | /php/log/limit | 16384 | Log limit on number of characters in the single line |
PHP_MAX_EXECUTION_TIME | /php/max/execution/time | 30 | Maximum execution time of each script, in seconds |
PHP_MAX_FILE_UPLOADS | /php/max/file/uploads | 20 | Maximum number of files that can be uploaded via a single request |
PHP_MAX_INPUT_TIME | /php/max/input/time | 60 | Maximum amount of time each script may spend parsing request data |
PHP_MEMORY_LIMIT | /php/memory/limit | 128M | Maximum amount of memory a script may consume |
PHP_POST_MAX_SIZE | /php/post/max/size | 128M | Maximum size of POST data that PHP will accept |
PHP_UPLOAD_MAX_FILESIZE | /php/upload/max/filesize | 128M | Maximum allowed size for uploaded files |