Configuration
Ever Teams uses environment variables for all runtime configuration. The web application reads these from a .env file in the apps/web/ directory.
Getting Started
Copy the sample environment file:
cp apps/web/.env.sample apps/web/.env
Edit the .env file with your preferred settings.
Essential Configuration
API Connection
The most important setting is the connection to the Ever Gauzy API backend:
| Variable | Default | Description |
|---|---|---|
GAUZY_API_SERVER_URL | https://api.ever.team/api | Backend API URL (server-side) |
NEXT_PUBLIC_GAUZY_API_SERVER_URL | https://api.ever.team | Backend API URL (client-side) |
معلومات
By default, Ever Teams connects to the production API at https://api.ever.team. For self-hosted setups, point these to your own Ever Gauzy API server (e.g., http://localhost:3000).
Authentication
| Variable | Default | Description |
|---|---|---|
AUTH_SECRET | ever-app-auth-secret | Secret key for NextAuth.js session signing |
خطر
Always change AUTH_SECRET in production! Use a strong random string (at least 32 characters).
OAuth Configuration
Ever Teams supports social login with multiple providers:
Google OAuth
| Variable | Description |
|---|---|
NEXT_PUBLIC_GOOGLE_APP_NAME | Display name for Google sign-in |
GOOGLE_CLIENT_ID | Google OAuth Client ID |
GOOGLE_CLIENT_SECRET | Google OAuth Client Secret |