---
title: "Environment variables"
description: "Every environment variable Depot, the Agent and the support server read at start up, with its default."
url: "https://support.outpostplatform.com/reference/environment-variables/"
product: "platform"
type: "reference"
status: "stub"
ai_summary: "Reference list of Outpost environment variables. Grouped by component, one row per variable with its type, default, whether it is required, and whether it is secret. Covers the listen address, database connection, trusted proxies, log level and shutdown timeout."
source: "https://gitlab.com/outpostplatform/docs/-/edit/main/src/content/docs/reference/environment-variables.md"
license: "CC BY 4.0"
---

# Environment variables

Anything a component needs before it can start comes from the environment, not
from the console: where to listen, which database to open, which proxies to
trust. This page lists every one of those variables, per component, with its
default. It is for whoever writes the environment file or the unit that starts
the service.

<!-- TODO: write this page against the reference template.

Sections:

- Scope: which components and which version, and the fact that everything an
  operator changes day to day is in the console instead.
- How the variables are named, per component.
- Depot, as one table: name, type, default, required, secret.
- The Agent.
- The support site server.
- Which variables are secret, where the file lives, and what its permissions
  should be.
- Which variables have to match between components, and what breaks when they
  do not.
- Source: where each set is read in the product.
-->

Follow the [reference template](https://gitlab.com/outpostplatform/docs/-/blob/main/templates/reference.md).
