Skip to content

Commit

Permalink
Add type for container/ssr
Browse files Browse the repository at this point in the history
Signed-off-by: Andreia Ocănoaia <[email protected]>
  • Loading branch information
andreia-oca committed Feb 19, 2025
1 parent 0b0544d commit d1c686a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/project-structure/genezio-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,12 @@ The Docker container configuration. This field can be omitted if the project is

For larger values, [contact us](mailto:[email protected]).

- `type`: `string` **Optional**

The type of the container can be set to `persistent`. If this field is not specified, the container will be deployed in a serverless manner.

- `persistent` indicates that the container will be deployed as a long-running server that will not be scaled down to 0. This is an Enterprise-only feature, please [contact us](mailto:[email protected]) for more information.

### Example of `container` deployment configuration

```yaml
Expand Down Expand Up @@ -950,6 +956,12 @@ Variables can be used in the scripts. Check the [Usage](#variables) section for

For custom runtimes, please [contact us](mailto:[email protected]).

- `type`: `string` **Optional**

The type of the server can be set to `persistent`. If this field is not specified, the server will be deployed in a serverless manner.

- `persistent` indicates that the server will be deployed as long-running and it will not be scaled down to 0. This is an Enterprise-only feature, please [contact us](mailto:[email protected]) for more information.

### Example of `nextjs` deployment configuration

This example can be easily used for Nuxt.js, Nitro, Nestjs, Remix, or Streamlit projects by changing the `nextjs` field to `nuxt`, `nitro`, `nestjs`, `remix`, or `streamlit`.
Expand Down

0 comments on commit d1c686a

Please sign in to comment.