.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
APP_ENV
ORIGIN AI Workspace
APP_NAME
APP_URL
API_URL
NEXT_PUBLIC_API_URL
Web
JWT_SECRET_KEY
secret
Security
JWT_ACCESS_TOKEN_EXPIRE_MINUTES
secret
POSTGRES_USER
Database
POSTGRES_PASSWORD
secret
POSTGRES_DB
DATABASE_URL
secret
REDIS_URL
secret
Redis
OPENAI_API_KEY
secret
AI Providers
DEEPSEEK_API_KEY
secret
QWEN_API_KEY
secret
OPENAI_COMPATIBLE_BASE_URL
secret
DEFAULT_MODEL
UPLOAD_DIR
Uploads
MAX_UPLOAD_SIZE_MB
brew install flyctl && fly launch --from https://github.com/1304674612/-origin-ai-workspace
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/1304674612/-origin-ai-workspace
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/1304674612/-origin-ai-workspace