DATABASE_URL | SQLAlchemy-compatible connection string. If omitted, Memwyre defaults to local SQLite. | postgresql://user:pass@db:5432/db or sqlite:///brain_vault.db |
REDIS_URL | Redis URL used for celery message passing and query cache. | redis://redis:6379/0 |
SECRET_KEY | Hex token used to sign authentication JWT keys. | 3a5d8f... (Use openssl rand -hex 32) |
DEV_MODE | If set to True, subscription checks are bypassed (unlimited usage gating). | False |
FREE_MEMORY_LIMIT | Maximum memories allowed for a free user account. | 50 |
FREE_DOCUMENT_LIMIT | Maximum documents allowed for a free user account. | 10 |
FREE_CHAT_LIMIT | Maximum chats allowed for a free user account. | 30 |
MAX_CHARS_PER_MEMORY | Character limit threshold for a single memory unit. | 25000 |
TURNSTILE_SECRET_KEY | Cloudflare Turnstile token used for bot challenge validations. | 0x4AAAAAA... |
DODO_PAYMENTS_API_KEY | API authorization token for Dodo Payments gateway. | dp_live_... |
LLM_PROVIDER | Language model platform. Options: ollama, openai, anthropic. | ollama |
LLM_MODEL | Main inference model for relationship parsing and summarization. | llama3 or gpt-4o-mini |
EMBEDDING_MODEL | Model used to generate vector dimensions for retrieval. | nomic-embed-text |
OLLAMA_HOST | Host URL pointing to your local Ollama runtime. | http://host.docker.internal:11434 |