Community server required
| Variable | Required | Description | Example |
|---|---|---|---|
SERVER_TOKEN | Yes | Server token used for registration and heartbeat. | abc123... |
COMMUNITY_PUBLIC_URL | Yes | Public base URL for this community API (registered with Core as api_url). Required in .env — Docker Compose does not substitute a default. | https://community.example.com |
CORE_SERVER_URL | Yes | Core URL used by the community-server for token validation and registration. | https://api.tusile.com |
LIVEKIT_API_KEY | Yes | LiveKit key used to mint room tokens. | devkey |
LIVEKIT_API_SECRET | Yes | LiveKit secret paired with API key. | devsecret |
Community server optional
| Variable | Default | Purpose |
|---|---|---|
STORAGE_BACKEND | local | File storage backend: `local` or `s3`. |
STORAGE_LOCAL_PATH | /app/uploads | Upload location for local storage. |
UPLOAD_MAX_SIZE | 10485760 | Max upload bytes. |
S3_BUCKET, S3_REGION, S3_ACCESS_KEY, S3_SECRET_KEY | - | Required together when `STORAGE_BACKEND=s3`. |
S3_ENDPOINT, S3_PUBLIC_URL | - | Optional custom S3 endpoint/public URL. |
LIVEKIT_URL | - | Optional explicit LiveKit WebSocket URL override. |
LIVEKIT_PORT | 7880 | Used when LIVEKIT_URL is not set; combines with COMMUNITY_PUBLIC_URL. |
LIVEKIT_CONFIG | livekit.prod.yaml | Path to LiveKit config file. |
For local storage, include the community-uploads Docker volume (or bind-mounted directory) in your backup plan. For S3, back up the bucket using your provider’s tools. See Backup & restore.
This page is the operator-facing summary for quick setup and audits.