Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions serverless/containers/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The container can then process the message and perform any required actions, suc

The port parameter specifies the network port that your container listens on for incoming requests. If your application or container is set up to listen on a different port, you must specify it using the port parameter when deploying your container to Serverless Containers. It must reflect the port configuration within your container for your service to function correctly.

When creating your container image, we recommend configuring it to listen to the `$PORT` variable. The value defined in the port parameter will then be passed to your container during the deployment.
The value defined in the port parameter will then be passed to your container during the deployment inside the `PORT` environment variable.

## Privacy policy

Expand Down Expand Up @@ -129,4 +129,4 @@ Unit used to measure the resource consumption of a container. It reflects the am

## Protocol

Serverless Containers supports **http1** (default) and **http2** (`h2c`). In some cases, for example, while deploying a container using gRPC, you may need to upgrade the protocol for it to work.
Serverless Containers supports **http1** (default) and **http2** (`h2c`). In some cases, for example, while deploying a container using gRPC, you may need to upgrade the protocol for it to work.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ For now, Serverless Containers only supports public images.
- Choose a **name** for your container and, optionally, a **description**. The name must only contain alphanumeric characters and dashes.
- Choose the **resources** to be allocated to your container at runtime. These define the performance characteristics of your container.
<Message type="note">
Available memory depends on allocated VCPU, and maximum ephemeral storage value depends on allocated memory.
Available memory depends on allocated vCPU, and maximum ephemeral storage value depends on allocated memory.
</Message>
- Set your [scaling](/serverless/containers/concepts/#scaling) preferences, or leave them at default values. The Scaleway platform autoscales the number of available instances of your container to match the incoming load, depending on the settings you define here.
- Click **Advanced options** to define any [environment variables](/serverless/containers/concepts/#environment-variables) you want to inject into your container. For each environment variable, click **+Add variable** and enter the key/value pair.
Expand All @@ -48,5 +48,3 @@ For now, Serverless Containers only supports public images.
- Set a custom [timeout](/serverless/containers/concepts/#timeout) for your container.
- Verify the **estimated cost**.
5. Click **Deploy container** to finish.


Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ In order to ensure the proper functioning of the product, we restrict the use of
* 9090
* 9091
* Reserved environment variables:
* `PORT`: Port on which your server should listen to (the default value is 8080)
* `PORT`: Value of the port definied in Container settings which the container has to listen to. You can use this environment variable inside your Container for easier deployments to define.
* `SCW_*`: Reserved for product configuration (for example: token validation)

## Default values for CPU and memory limits
Expand Down