Skip to main content
Under Docker Compose, every setting below is read from an optional .env file next to docker-compose.yml. Each one has a working default, so you only need the file to change something. The annotated template is .env.docker.example. A few of them behave differently outside Compose, and the rows that do say so.

Variables

Minimal local configuration

For local testing nothing needs setting. Every value has a working default, and the client already points at http://localhost:3001 with no .env file at all. The first case that genuinely needs one is reaching the app from another device on your network, which takes NEXT_PUBLIC_SOCKET_URL and CLIENT_URL together. See Quick Start.

Production configuration

A typical production .env for a deployment with HTTPS and TURN:
.env
See Production Deployment for the full setup.