Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 9.56 KB

DeploymentConfig.md

File metadata and controls

16 lines (12 loc) · 9.56 KB

DeploymentConfig

User specified deployment configuration for your application at runtime.

Fields

Field Type Required Description Example
additionalContainerPorts List<ContainerPort> Additional ports your server listens on.
containerPort int ✔️ Default port the server listens on. 4000
env List<Env> ✔️ The environment variable that our process will have access to at runtime.
idleTimeoutEnabled Optional<Boolean> Option to shut down processes that have had no new connections or rooms
for five minutes.
planName PlanName ✔️ A plan defines how much CPU and memory is required to run an instance of your game server.

tiny: shared core, 1gb memory

small: 1 core, 2gb memory

medium: 2 core, 4gb memory

large: 4 core, 8gb memory
tiny
roomsPerProcess int ✔️ Governs how many rooms can be scheduled in a process. 3
transportType TransportType ✔️ Transport type specifies the underlying communication protocol to the exposed port.