User specified deployment configuration for your application at runtime.
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 memorysmall : 1 core, 2gb memorymedium : 2 core, 4gb memorylarge : 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. |