# DeploymentConfig

User specified deployment configuration for your application at runtime.


## Fields

| Field                                                                                                                                                                                                               | Type                                                                                                                                                                                                                | Required                                                                                                                                                                                                            | Description                                                                                                                                                                                                         | Example                                                                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AdditionalContainerPorts`                                                                                                                                                                                          | List<[ContainerPort](../../Models/Shared/ContainerPort.md)>                                                                                                                                                         | :heavy_minus_sign:                                                                                                                                                                                                  | Additional ports your server listens on.                                                                                                                                                                            |                                                                                                                                                                                                                     |
| `ContainerPort`                                                                                                                                                                                                     | *int*                                                                                                                                                                                                               | :heavy_check_mark:                                                                                                                                                                                                  | Default port the server listens on.                                                                                                                                                                                 | 4000                                                                                                                                                                                                                |
| `Env`                                                                                                                                                                                                               | List<[Env](../../Models/Shared/Env.md)>                                                                                                                                                                             | :heavy_check_mark:                                                                                                                                                                                                  | The environment variable that our process will have access to at runtime.                                                                                                                                           |                                                                                                                                                                                                                     |
| `IdleTimeoutEnabled`                                                                                                                                                                                                | *bool*                                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                  | Option to shut down processes that have had no new connections or rooms<br/>for five minutes.                                                                                                                       |                                                                                                                                                                                                                     |
| `PlanName`                                                                                                                                                                                                          | [PlanName](../../Models/Shared/PlanName.md)                                                                                                                                                                         | :heavy_check_mark:                                                                                                                                                                                                  | A plan defines how much CPU and memory is required to run an instance of your game server.<br/><br/>`tiny`: shared core, 1gb memory<br/><br/>`small`: 1 core, 2gb memory<br/><br/>`medium`: 2 core, 4gb memory<br/><br/>`large`: 4 core, 8gb memory | tiny                                                                                                                                                                                                                |
| `RoomsPerProcess`                                                                                                                                                                                                   | *int*                                                                                                                                                                                                               | :heavy_check_mark:                                                                                                                                                                                                  | Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process.                                                                                                    | 3                                                                                                                                                                                                                   |
| `TransportType`                                                                                                                                                                                                     | [TransportType](../../Models/Shared/TransportType.md)                                                                                                                                                               | :heavy_check_mark:                                                                                                                                                                                                  | Transport type specifies the underlying communication protocol to the exposed port.                                                                                                                                 |                                                                                                                                                                                                                     |