Skip to main content

Environment Files

Copy the example files to configure your environment:

Key Variables

Server Configuration

Database

Storage

Security

Email

Workspace domain requests

When a workspace admin requests a domain 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:
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.

Production

For production, ensure you:
  • Use strong secrets for SESSION_SECRET
  • Set NODE_ENV=production
  • Configure proper email settings
  • Use secure database credentials
For complete environment variable reference, see the .env.example files in the Speckle server repository.
Last modified on November 13, 2026