.env, your Docker environment, or your platform’s environment settings. Only BETTER_AUTH_SECRET is required.
Core
Upload and rate limiting
Admin bootstrap
These run only on the very first boot, while the user table is empty. They cannot reset a password or add a second admin later. Without them, a
fullstack instance waits for you to create the account at /setup.
Three rules worth knowing before you wire this into a deploy:
- Email and password go together. One without the other stops startup.
- In
fullstackmode, generating a key also requires the credentials. - In
apimode a key is generated on first boot regardless, since an API-only instance would otherwise have no way in.
Advanced
Ports under Docker
PORT applies when running from source. Both Compose profiles publish 3000:3000 without passing PORT through, and in the full image the API is pinned to an internal port behind nginx. Setting it there either does nothing or breaks the published mapping. Change the port mapping instead.
Related
Storage
Connect S3-compatible cloud storage.
Signed URLs
Use
API_SECRET to sign transformation URLs.Video Processing
Worker concurrency, retries and encode limits.
Telemetry
What is sent, and how to turn it off.