You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/php.md
+34-4Lines changed: 34 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,22 +27,52 @@ See [PHP with Apache product specification](https://www.clever.cloud/developers/
27
27
28
28
### Optional
29
29
30
+
-`always_populate_raw_post_data` (String) Controls population of raw POST data
31
+
-`apache_headers_size` (Number) Set the maximum size of the headers in Apache, between `8` and `256`. Default is `8`
30
32
-`app_folder` (String) Folder in which the application is located (inside the git repository)
33
+
-`async_app_bucket` (String) Mount the default app FS bucket asynchronously. If set, should have value `async`
31
34
-`build_flavor` (String) Use dedicated instance with given flavor for build phase
35
+
-`cgi_implementation` (String) Choose the Apache FastCGI module between `fastcgi` and `proxy_fcgi`. Default is `proxy_fcgi`
36
+
-`composer_version` (String) Choose your composer version between 1 and 2. Default is `2`
32
37
-`dependencies` (Set of String) A list of application or add-ons required to run this application.
33
38
Can be either app_xxx or postgres_yyy ID format
34
39
-`deployment` (Block, Optional) (see [below for nested schema](#nestedblock--deployment))
35
40
-`description` (String) Application description
36
-
-`dev_dependencies` (Boolean) Install development dependencies
41
+
-`dev_dependencies` (String) Control if development dependencies are installed or not. Values are either `install` or `ignore`
42
+
-`disable_app_bucket` (String) Disable entirely the app FS Bucket. Values are either `true`, `yes` or `disable`
43
+
-`enable_elastic_apm_agent` (Boolean) Enable the Elastic APM Agent for PHP. Default is `true` if `ELASTIC_APM_SERVER_URL` is defined, `false` otherwise
44
+
-`enable_grpc` (Boolean) Enable the use of gRPC module. Default is `false`
45
+
-`enable_pdflib` (Boolean) Enable the use of PDFlib module. Default is `false`
46
+
-`enable_redis` (Boolean) Enable Redis support. Default is `false`
37
47
-`environment` (Map of String, Sensitive) Environment variables injected into the application
38
48
-`hooks` (Block, Optional) (see [below for nested schema](#nestedblock--hooks))
39
-
-`php_version` (String) PHP version (Default: 8)
49
+
-`http_basic_auth` (String, Sensitive) Restrict HTTP access to your application. Example: `login:password`. You can define multiple credentials using additional `CC_HTTP_BASIC_AUTH_n` (where `n` is a number) environment variables
50
+
-`http_timeout` (Number) Define a custom HTTP timeout. Default is `180`
51
+
-`ldap_ca_cert` (String) Path to the LDAP CA certificate
52
+
-`ldaptls_cacert` (String) Path to the LDAP TLS CA certificate
53
+
-`max_input_vars` (Number) Maximum number of input variables that can be accepted
54
+
-`memory_limit` (String) Change the default memory limit for PHP scripts
55
+
-`mta_auth_password` (String, Sensitive) Password to authenticate to the SMTP server
56
+
-`mta_auth_user` (String) User to authenticate to the SMTP server
57
+
-`mta_server_auth_method` (String) Enable or disable authentication to the SMTP server. Default is `on`
58
+
-`mta_server_host` (String) Host of the SMTP server
59
+
-`mta_server_port` (Number) Port of the SMTP server. Default is `465`
60
+
-`mta_server_use_tls` (Boolean) Enable or disable TLS when connecting to the SMTP server. Default is `true`
61
+
-`opcache_interned_strings_buffer` (Number) The amount of memory used to store interned strings, in megabytes. Default is `4` (PHP5), `8` (PHP7)
62
+
-`opcache_max_accelerated_files` (Number) Maximum number of files handled by opcache. Default depends on the scaler size
63
+
-`opcache_memory` (String) Set the shared opcache memory size. Default is about 1/8 of the RAM
64
+
-`opcache_preload` (String) The path of the PHP preload file (PHP version 7.4 or higher)
65
+
-`php_version` (String) Choose your PHP version among those supported. Default is `8.3`
66
+
-`realpath_cache_ttl` (Number) The size of the realpath cache to be used by PHP. Default is `120`
40
67
-`redirect_https` (Boolean) Redirect client from plain to TLS port
41
-
-`redis_sessions` (Boolean) Use a linked Redis instance to store sessions (Default: false)
42
68
-`region` (String) Geographical region where the database will be deployed
69
+
-`session_type` (String) Choose `redis` to use Redis as session store
70
+
-`socksify_everything` (Boolean) Enable SOCKS proxy for all outgoing connections. Default is `false`
71
+
-`sqreen_api_app_name` (String) The name of your Sqreen application
72
+
-`sqreen_api_token` (String, Sensitive) Your Sqreen organization token
43
73
-`sticky_sessions` (Boolean) Enable sticky sessions, use it when your client sessions are instances scoped
44
74
-`vhosts` (Attributes Set) List of virtual hosts (see [below for nested schema](#nestedatt--vhosts))
45
-
-`webroot` (String) Define the DocumentRoot of your project (default: ".")
75
+
-`webroot` (String) Define the DocumentRoot of your project. Default is `.`
-`app_folder` (String) Folder in which the application is located (inside the git repository)
93
93
-`build_flavor` (String) Use dedicated instance with given flavor for build phase
94
+
-`celery_logfile` (String) Sets the relative path to the Celery log file (e.g., `/path/to/logdir`)
95
+
-`celery_module` (String) Specifies the Celery module to start
96
+
-`celery_use_beat` (Boolean) Set to `true` to enable Celery Beat support
94
97
-`dependencies` (Set of String) A list of application or add-ons required to run this application.
95
98
Can be either app_xxx or postgres_yyy ID format
96
99
-`deployment` (Block, Optional) (see [below for nested schema](#nestedblock--deployment))
97
100
-`description` (String) Application description
101
+
-`enable_gzip_compression` (Boolean) Set to `true` to enable Gzip compression via Nginx
98
102
-`environment` (Map of String, Sensitive) Environment variables injected into the application
103
+
-`gunicorn_timeout` (Number) Timeout for Gunicorn workers. Default is `180`
104
+
-`gunicorn_worker_class` (String) Gunicorn worker class (e.g., `gevent`, `sync`)
105
+
-`gzip_types` (String) Defines the MIME types to be compressed by Gzip. Default is `text/* application/json application/xml application/javascript image/svg+xml`
106
+
-`harakiri` (Number) Timeout in seconds after which an unresponsive process is killed. Default is `180`
99
107
-`hooks` (Block, Optional) (see [below for nested schema](#nestedblock--hooks))
100
-
-`pip_requirements` (String) Define a custom requirements.txt file (default: requirements.txt)
101
-
-`python_version` (String) Python version >= 2.7
108
+
-`http_basic_auth` (String, Sensitive) Restrict HTTP access to your application. Example: `login:password`. Multiple credentials can be defined using `CC_HTTP_BASIC_AUTH_n`
109
+
-`manage_tasks` (String) A comma-separated list of Django `manage.py` tasks to execute
110
+
-`nginx_proxy_buffer_size` (String) Sets the size of the buffer for the initial part of the response from the proxied server
111
+
-`nginx_proxy_buffers` (String) Configures the number and size of buffers for reading responses from the proxied server
112
+
-`nginx_read_timeout` (Number) Read timeout in seconds for Nginx. Default is `300`
113
+
-`pip_requirements` (String) Specifies a custom requirements.txt file for package installation. Default is `requirements.txt`
114
+
-`python_backend` (String) Selects the Python backend. Options include `daphne`, `gunicorn`, `uvicorn`, and `uwsgi`. Default is `uwsgi`
115
+
-`python_module` (String) Defines the Python module to start with, including the path to the application object. Example: `app.server:app` for a `server.py` file in an `/app` folder
116
+
-`python_version` (String) Selects the Python version. Refer to supported versions documentation
102
117
-`redirect_https` (Boolean) Redirect client from plain to TLS port
103
118
-`region` (String) Geographical region where the database will be deployed
119
+
-`setup_py_goal` (String) A custom goal to execute after `requirements.txt` installation
120
+
-`static_files_path` (String) The relative path to the directory containing static files (e.g., `path/to/static`)
121
+
-`static_url_prefix` (String) The URL path prefix for serving static files. Commonly set to `/public`
122
+
-`static_webroot` (String) Specifies the web root for static files
104
123
-`sticky_sessions` (Boolean) Enable sticky sessions, use it when your client sessions are instances scoped
124
+
-`use_gevent` (Boolean) Set to `true` to enable Gevent support
125
+
-`uwsgi_async` (Number) Configures the number of cores for uWSGI asynchronous/non-blocking modes
126
+
-`uwsgi_async_engine` (String) Selects the asynchronous engine for uWSGI (optional)
127
+
-`uwsgi_intercept_errors` (Boolean) Enables or disables error interception in uWSGI
105
128
-`vhosts` (Attributes Set) List of virtual hosts (see [below for nested schema](#nestedatt--vhosts))
129
+
-`wsgi_buffer_size` (Number) Buffer size in bytes for uploads. Default is `4096`
130
+
-`wsgi_post_buffering` (Number) Maximum size in bytes for request headers. Default is `4096`
131
+
-`wsgi_threads` (Number) Number of threads per worker. Defaults to automatic setup based on scaler size
132
+
-`wsgi_workers` (Number) Number of workers. Defaults to automatic setup based on scaler size
Copy file name to clipboardExpand all lines: docs/resources/rust.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,9 @@ Can be either app_xxx or postgres_yyy ID format
100
100
-`hooks` (Block, Optional) (see [below for nested schema](#nestedblock--hooks))
101
101
-`redirect_https` (Boolean) Redirect client from plain to TLS port
102
102
-`region` (String) Geographical region where the database will be deployed
103
+
-`run_command` (String) Custom command to run your application
104
+
-`rust_bin` (String) The name of the binary to launch once built
105
+
-`rustup_channel` (String) The rust channel to use. Use a specific channel version with `stable`, `beta`, `nightly` or a specific version like `1.13.0` (default: `stable`)
103
106
-`sticky_sessions` (Boolean) Enable sticky sessions, use it when your client sessions are instances scoped
104
107
-`vhosts` (Attributes Set) List of virtual hosts (see [below for nested schema](#nestedatt--vhosts))
0 commit comments