Deployment Environment Variables

Configuring Rocket.Chat via environment variables

Environmental variables can be specified to impact how the workspace is deployed or affect the workspace settings and configuration. Setting the deployment environment variables depends on the deployment method of choice. This topic takes you through the mandatory and optional deployment environment variables for you to successfully deploy your workspace as per your needs.

Using the most common deployment method Deploy with Docker & Docker Compose, these variables can be set within the environment section under services in your compose.yml file.

Mandatory Environment Variables

Optional Environment Variables

After configuring the mandatory and optional deployment environment variables, see how to manage your workspace settings with environment variables in the next topic.

Last updated

Rocket.Chat versions receive support for six months after release.