# DeploymentConfigV2


## 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<[DeploymentConfigV2Env](../../Models/Shared/DeploymentConfigV2Env.md)>                                      | :heavy_check_mark:                                                                                               | The environment variable that our process will have access to at runtime.                                        |                                                                                                                  |
| `IdleTimeoutEnabled`                                                                                             | *bool*                                                                                                           | :heavy_check_mark:                                                                                               | Option to shut down processes that have had no new connections or rooms<br/>for five minutes.                    |                                                                                                                  |
| `RequestedCPU`                                                                                                   | *double*                                                                                                         | :heavy_check_mark:                                                                                               | The number of cores allocated to your process.                                                                   | 0.5                                                                                                              |
| `RequestedMemoryMB`                                                                                              | *double*                                                                                                         | :heavy_check_mark:                                                                                               | The amount of memory allocated to your process.                                                                  | 1024                                                                                                             |
| `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.                              |                                                                                                                  |