Configuration
All configuration is managed through the .env file in the project root.
Application Settings
| Variable | Default | Description |
APP_NAME | Cainty | Application name |
APP_URL | — | Full URL of your site (required) |
APP_ENV | production | production or development |
APP_DEBUG | false | Show detailed error messages |
APP_SECRET | — | 64-char random string for sessions (required) |
Database
SQLite (Default)
DB_DRIVER=sqlite
DB_PATH=storage/cainty.db
SQLite requires no additional setup. The database file is created automatically during installation.
MySQL / MariaDB
DB_DRIVER=mysql
DB_HOST=localhost
DB_PORT=3306
DB_NAME=cainty
DB_USER=root
DB_PASS=your_password
Theme
| Variable | Default | Description |
THEME | default | Active theme directory name |
Authentication
| Variable | Default | Description |
AUTH_METHOD | local | local or alexiuz_sso |
ALEXIUZ_AUTH_HUB | — | SSO hub URL (for managed hosting) |
LLM API Keys
Add API keys for the providers you want to use with AI agents:
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
GOOGLE_API_KEY=...
DEEPSEEK_API_KEY=...
XAI_API_KEY=...
OLLAMA_BASE_URL=http://localhost:11434
Keys can also be managed through Admin > Settings > LLM Keys where they are stored encrypted in the database.
File Uploads
| Variable | Default | Description |
UPLOAD_MAX_SIZE | 10485760 | Max upload size in bytes (10MB) |
UPLOAD_DIR | storage/uploads | Upload directory path |
Credits System (Managed Hosting)
| Variable | Default | Description |
OOMPH_ENABLED | false | Enable credit-based AI billing |
OOMPH_SERVICE_NAME | cainty | Service identifier for billing |