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
|`name`|`string`| Yes | No | A unique name for the app. Must be lowercase alphanumeric characters. Changing the name destroys data associated with the app. |
43
-
|`stack`| An array of [Nix packages](#stack)| Yes | No | A list of packages from the {{% vendor/name %}} collection of [supported runtimes](#supported-nix-packages) and/or from [Nixpkgs](https://search.nixos.org/packages). |
44
-
|`size`| A [size](#sizes)|| Yes | How much resources to devote to the app. Defaults to `AUTO` in production environments. |
45
-
|`relationships`| A dictionary of [relationships](#relationships)|| Yes | Connections to other services and apps. |
46
-
|`disk`|`integer` or `null`|| Yes | The size of the disk space for the app in [MB](/glossary/_index.md#mb). Minimum value is `128`. Defaults to `null`, meaning no disk is available. See [note on available space](#available-disk-space)|
47
-
|`mounts`| A dictionary of [mounts](#mounts)|| Yes | Directories that are writable even after the app is built. If set as a local source, `disk` is required. |
48
-
|`web`| A [web instance](#web)|| N/A | How the web application is served. |
49
-
|`workers`| A [worker instance](#workers)|| N/A | Alternate copies of the application to run as background processes. |
50
-
|`timezone`|`string`|| No | The timezone for crons to run. Format: a [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Defaults to `UTC`, which is the timezone used for all logs no matter the value here. See also [app runtime timezones](/create-apps/timezone.md)|
51
-
|`access`| An [access dictionary](#access)|| Yes | Access control for roles accessing app environments. |
52
-
|`variables`| A [variables dictionary](#variables)|| Yes | Variables to control the environment. |
53
-
|`firewall`| A [firewall dictionary](#firewall)|| Yes | Outbound firewall rules for the application. |
54
-
|`hooks`| A [hooks dictionary](#hooks)|| No | What commands run at different stages in the build and deploy process. |
55
-
|`crons`| A [cron dictionary](#crons)|| No | Scheduled tasks for the app. |
56
-
|`source`| A [source dictionary](#source)|| No | Information on the app's source code and operations that can be run on it. |
57
-
|`additional_hosts`| An [additional hosts dictionary](#additional-hosts)|| Yes | Maps of hostnames to IP addresses. |
40
+
| Name | Type | Required | Set in instance? | Description |
|`name`|`string`| Yes | No | A unique name for the app. Must be lowercase alphanumeric characters. Changing the name destroys data associated with the app. |
43
+
|`stack`| An array of [Nix packages](#stack)| Yes | No | A list of packages from the {{% vendor/name %}} collection of [supported runtimes](#supported-nix-packages) and/or from [Nixpkgs](https://search.nixos.org/packages). |
44
+
|`size`| A [size](#sizes)|| Yes | How much resources to devote to the app. Defaults to `AUTO` in production environments. |
45
+
|`relationships`| A dictionary of [relationships](#relationships)|| Yes | Connections to other services and apps. |
46
+
|`disk`|`integer` or `null`|| Yes | The size of the disk space for the app in [MB](/glossary/_index.md#mb). Minimum value is `128`. Defaults to `null`, meaning no disk is available. See [note on available space](#available-disk-space)|
47
+
|`mounts`| A dictionary of [mounts](#mounts)|| Yes | Directories that are writable even after the app is built. If set as a local source, `disk` is required. |
48
+
|`web`| A [web instance](#web)|| N/A | How the web application is served. |
49
+
|`workers`| A [worker instance](#workers)|| N/A | Alternate copies of the application to run as background processes. |
50
+
|`timezone`|`string`|| No | The timezone for crons to run. Format: a [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Defaults to `UTC`, which is the timezone used for all logs no matter the value here. See also [app runtime timezones](/create-apps/timezone.md)|
51
+
|`access`| An [access dictionary](#access)|| Yes | Access control for roles accessing app environments. |
52
+
|`variables`| A [variables dictionary](#variables)|| Yes | Variables to control the environment. |
53
+
|`firewall`| A [firewall dictionary](#firewall)|| Yes | Outbound firewall rules for the application. |
54
+
|`hooks`| A [hooks dictionary](#hooks)|| No | What commands run at different stages in the build and deploy process. |
55
+
|`crons`| A [cron dictionary](#crons)|| No | Scheduled tasks for the app. |
56
+
|`source`| A [source dictionary](#source)|| No | Information on the app's source code and operations that can be run on it. |
57
+
|`additional_hosts`| An [additional hosts dictionary](#additional-hosts)|| Yes | Maps of hostnames to IP addresses. |
58
+
|`operations`| A [dictionary of Runtime operations](/create-apps/runtime-operations.md)|| No | Runtime operations for the application. |
59
+
58
60
{{% note %}}
59
61
The ``type``, ``build``, ``dependencies``, and ``runtime`` keys are only supported when using a [single-runtime image](/create-apps/app-reference/single-runtime-image.md).
60
62
They are **not** supported when using the composable image.
@@ -827,8 +829,8 @@ The key of each item is a regular expression to match paths exactly.
827
829
If an incoming request matches the rule, it's handled by the properties under the rule,
828
830
overriding any conflicting rules from the rest of the `locations` dictionary.
829
831
830
-
Under `rules`, you can set all of the other possible [`locations` properties](#locations)
831
-
except `root`, `index` and `request_buffering`.
832
+
Under `rules`, you can set all the other possible [`locations` properties](#locations)
833
+
except `root`, `index`, `rules` and `request_buffering`.
832
834
833
835
In the following example, the `allow` key disallows requests for static files anywhere in the site.
834
836
This is overridden by a rule that explicitly allows common image file formats.
0 commit comments