Stack runtime environment
The reference environment that docker images should implement with Stack.
HTTP server
PORT(default to8080) - the port your appMAX_BODY_SIZE(default to10) - the size in megabytes for the maximum client request body size. (this controls NGINXclient_max_body_sizeand phpupload_max_filesizeandpost_max_size)NGINX_ACCESS_LOG(default tooff) - where to write NGINX’s access logNGINX_ERROR_LOG(default to/dev/stderr) - where to write NGINX’s error log
Media Library
STACK_MEDIA_PATH(default to/wp-content/uploads)STACK_MEDIA_BUCKET- if set serves theSTACK_MEDIA_PATHfrom this media bucket (eg.gs://my-google-cloud-storage-bucket/prefixors3://my-aws-s3-bucket)
PHP runtime
PHP_MEMORY_LIMIT(default to128). PHP request memory limit in megabytesPHP_REQUEST_TIMEOUT(default to30) - Time in seconds for serving a single request. PHPmax_execution_timeis set to this value and can only be set to a lower value. If set to a higher one, the request will still be killed after this timeout.PHP_MAX_CHILDREN(default to5)PHP_MAX_REQUESTS(default to500)PHP_MAX_SPARE_SERVERS(default toPHP_MAX_CHILDREN / 2 + 1)PHP_MIN_SPARE_SERVERS(default toPHP_MAX_CHILDREN / 3)PHP_START_SERVERS(default to(PHP_MAX_SPARE_SERVERS - PHP_MIN_SPARE_SERVERS) / 2 + PHP_MIN_SPARE_SERVERS)PHP_PROCESS_IDLE_TIMEOUT(default to10) - time in seconds to wait until killing an idle worker (used only whenPHP_PMis set toondemand)PHP_SLOW_REQUEST_TIMEOUT(default to0) - Time in seconds after which a request is logged as slow. Set to0to disable slow logging.
SMTP settings
SMTP_HOST(default tolocalhost)SMTP_USERSMTP_PASSSMTP_PORT(default to587)SMTP_TLS(default toyes)
