> ## Documentation Index
> Fetch the complete documentation index at: https://docs.speckle.systems/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These docs describe Speckle as it works today, including everything released in 2026.9. Treat page content as current unless the page or section says it applies only to versions published before 2026.9.
> Content scoped to versions published before 2026.9 (the object graph and root object, Proxies, Receive2, operations.receive, object.children) applies only to model versions in that earlier data format. For versions published in 2026.9, answer from the Object model pages and the SDK migration guides.
> The What's new pages summarise what changed in 2026.9 and link to the page that documents each change. Answer from the linked page rather than from the summary. Legacy (v2) connectors are retired; send questions about them to the community help forum.
> Match guidance to the customer's deployment, model data format, connector, plan and permissions. Self-hosted servers on a release before 2026.9 follow Data model migration for developers. If an unknown version or data format changes the answer, ask one focused question; do not infer the deployment version from the date alone.

# Environment Variables

> Complete reference for environment variables used to configure Speckle server. Learn about server settings, database configuration, storage options, security settings, and production requirements.

## Environment Files

Copy the example files to configure your environment:

```bash theme={null}
cp packages/server/.env.example packages/server/.env
cp packages/server/.env.test-example packages/server/.env.test
cp packages/frontend-2/.env.example packages/frontend-2/.env
```

## Key Variables

### Server Configuration

```env theme={null}
SPECKLE_SERVER_URL=http://localhost:3000
NODE_ENV=development
PORT=3000
```

### Database

```env theme={null}
POSTGRES_DB=speckle
POSTGRES_USER=speckle
POSTGRES_PASSWORD=speckle
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
```

### Storage

```env theme={null}
REDIS_URL=redis://localhost:6379
MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=minioadmin
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
```

### Security

```env theme={null}
SESSION_SECRET=your-session-secret
```

## Email

### Workspace domain requests

When a workspace admin [requests a domain](https://docs.speckle.systems/workspaces/domain-protection.md#request-a-domain-you-cannot-verify) they have no verified email on, server admins are notified in the app and by email. Set this variable to copy that email to another inbox:

```env theme={null}
WORKSPACE_DOMAIN_REQUEST_SUPPORT_EMAIL=
```

Leave it unset to use the server's admin contact (Server settings, **Admin contact**). If that contact is empty too, only server admins are notified. If the inbox is the same address as a server admin, that person receives one email.

A self-hosted server has no Speckle address built in. Speckle receives these requests only if this variable, or the admin contact, is set to an address at Speckle.

On Kubernetes, set `server.email.workspaceDomainRequestInbox`. See [Configure your deployment](https://docs.speckle.systems/developers/server/deployment/kubernetes-with-helm.md#configure-your-deployment).

## Production

For production, ensure you:

* Use strong secrets for SESSION\_SECRET
* Set NODE\_ENV=production
* Configure proper email settings
* Use secure database credentials

> [!NOTE]
>
> For complete environment variable reference, see the `.env.example` files in the [Speckle server
> repository](https://github.com/specklesystems/speckle-server).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.