40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
# Clawith Environment Variables
|
|
# Copy this file to .env and fill in the values
|
|
|
|
# Security
|
|
SECRET_KEY=change-me-in-production
|
|
JWT_SECRET_KEY=change-me-jwt-secret
|
|
|
|
# Database (auto-configured by setup.sh; override for custom setups)
|
|
# For local dev, ssl=disable is required to prevent asyncpg SSL negotiation hang
|
|
# DATABASE_URL=postgresql+asyncpg://clawith:clawith@localhost:5432/clawith?ssl=disable
|
|
|
|
# Redis
|
|
# REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Feishu OAuth (optional, for SSO login)
|
|
FEISHU_APP_ID=
|
|
FEISHU_APP_SECRET=
|
|
FEISHU_REDIRECT_URI=http://localhost:3000/auth/feishu/callback
|
|
|
|
# Agent workspace data directory.
|
|
# Default: local host -> ~/.clawith/data/agents ; container runtime -> /data/agents
|
|
# AGENT_DATA_DIR=
|
|
|
|
# Jina AI API key (for jina_search and jina_read tools — get one at https://jina.ai)
|
|
# Without a key, the tools still work but with lower rate limits
|
|
JINA_API_KEY=
|
|
|
|
# Exa API key (for exa_search tool and web_search Exa engine — get one at https://exa.ai)
|
|
EXA_API_KEY=
|
|
|
|
# Public app URL used in user-facing links, such as password reset emails.
|
|
# Leave empty for auto-discovery from the browser request.
|
|
# Set explicitly for production (e.g. https://your-domain.com) — required for
|
|
# background tasks like webhook URLs and email links that have no request context.
|
|
PUBLIC_BASE_URL=
|
|
|
|
|
|
# Password reset token lifetime in minutes
|
|
PASSWORD_RESET_TOKEN_EXPIRE_MINUTES=30
|