# Environment variables read by the backend. # # NOTE: the app reads real environment variables — it does NOT auto-load this # file. Set them in your shell or in docker-compose.yml. This file is # documentation. # # There are two, and neither is required. Everything about the model — the # endpoint, the model names, the timeout, the context budget — is a runtime # setting stored in the database and edited on the Settings page, because it is # a preference rather than a deployment detail. # Absolute path for the SQLite database file. The parent directory is created # if missing. Default when unset: backend/data.db # docker-compose.yml sets this to /data/data.db (a named volume). AIDND_DB_PATH= # Comma-separated list of allowed CORS origins. Only needed when the frontend # is served from a different origin than the API; the production build is # served same-origin by FastAPI, so a normal run can leave this unset. # Default: http://localhost:5173,http://127.0.0.1:5173 (the Vite dev server). # # A wildcard is rejected. The storyteller API is unauthenticated by design and # bound to loopback; letting any origin call it would undo that. AIDND_CORS_ORIGINS=