This guide covers all environment variables for Node.js API and Next.js frontend components of Weam AI.
Service-Specific Variables
Node.js API Server Variables
Node.js API Server Variables
Required Configuration
These environment variables must be configured for Weam AI to function properly.Database Settings
Configure MongoDB and Redis connections for data storage and caching:Security Configuration
Generate and configure secure keys for authentication and encryption:Service URLs
Configure service endpoints and domain settings:File Storage Configuration
Choose between local MinIO storage or AWS S3 for file management:- Local Development (MinIO)
- Production (AWS S3)
- No external dependencies
- Free for development
- Easy local testing
Vector Database Settings
Configure Qdrant for AI embeddings and vector search:Optional Configuration
These settings enhance functionality but aren’t required for basic operation.Optional Dashboard (Mongo Express)
An optional dashboard is available to view MongoDB records for the running project. It is disabled by default. Enable only if you need the dashboard (recommended for development, not production).
Enable the dashboard
- Update
docker-compose.ymlby adding/uncommenting this service:
- Start the service:
- Open the dashboard:
Email Notifications
Configure SMTP for user notifications and account management:- Gmail:
smtp.gmail.com:587(requires app password) - SendGrid:
smtp.sendgrid.net:587 - AWS SES: Regional endpoints available
External Service Integration
Configure OAuth credentials for third-party integrations:- Slack Integration
- GitHub Integration
- Google Workspace
Environment-Specific Settings
Configure different settings for development and production environments.Local Development Environment
Production Deployment Environment
Configuration Validation
Verify your environment variable configuration:Next Steps
API Credential Setup
Configure model provider API keys and external integrations
Launch & Verify
Start services and verify your environment configuration

