Environment Variables and Configuration¶
My Independent AI uses environment variables for core configuration and config.yaml for importer-specific settings.
Environment Variables (.env)¶
Copy .env.example to .env in the root directory to customize your customize your setup.
| Variable | Default | Description |
|---|---|---|
OLLAMA_BASE_URL |
http://ollama:11434 |
The URL where Ollama is running (container name inside Docker). |
QDRANT_URL |
http://qdrant:6333 |
The URL for the Qdrant vector database. |
QDRANT_API_KEY |
(None) | Required only if you are using Qdrant Cloud. |
MAPPING_DB_PATH |
apps/importers/mapping.db |
Path to the SQLite DB used for PII de-anonymization. |
IMPORTER_DB_PATH |
apps/importers/importer.db |
Path to the SQLite DB used for tracking importer state. |
Importer Configuration (config.yaml)¶
Located at apps/importers/config.yaml, this file defines which importers are active and their schedules.
importers:
local:
- name: local_files
description: "Imports files from a local directory"
enabled: true
schedule: "0 2 * * *" # Every day at 2 AM
For more details on how to use these files, see Start Ingestion.