Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 5.67 KB

deploymentconfigv2.md

File metadata and controls

15 lines (12 loc) · 5.67 KB

DeploymentConfigV2

Fields

Field Type Required Description Example
IdleTimeoutEnabled bool ✔️ Option to shut down processes that have had no new connections or rooms
for five minutes.
Env []components.DeploymentConfigV2Env ✔️ The environment variable that our process will have access to at runtime.
RoomsPerProcess int ✔️ Governs how many rooms can be scheduled in a process. 3
AdditionalContainerPorts []components.ContainerPort Additional ports your server listens on.
TransportType components.TransportType ✔️ Transport type specifies the underlying communication protocol to the exposed port.
ContainerPort int ✔️ Default port the server listens on. 4000
RequestedMemoryMB float64 ✔️ The amount of memory allocated to your process. 1024
RequestedCPU float64 ✔️ The number of cores allocated to your process. 0.5