# ============================================================================= # DearDiary Configuration # ============================================================================= # ----------------------------------------------------------------------------- # Backend Configuration # ----------------------------------------------------------------------------- BACKEND_DATABASE_URL="file:./data/deardiary.db" BACKEND_PORT="3000" BACKEND_JWT_SECRET="change-this-to-a-random-string-in-production" BACKEND_CORS_ORIGIN="*" BACKEND_REGISTRATION_ENABLED="false" BACKEND_MEDIA_DIR="./data/media" # Default admin user (auto-created on startup if doesn't exist) BACKEND_DEFAULT_USER_EMAIL="admin@localhost" BACKEND_DEFAULT_USER_PASSWORD="changeme123" # ----------------------------------------------------------------------------- # Default AI Configuration for New Users # ----------------------------------------------------------------------------- # When set, new users will use these settings by default. # Users can override these in their personal settings. # Default AI provider: groq, openai, anthropic, ollama, lmstudio, xai, custom BACKEND_DEFAULT_AI_PROVIDER="groq" # Default model (provider-specific) BACKEND_DEFAULT_AI_MODEL="llama-3.3-70b-versatile" # Default API key (optional - leave empty to let users provide their own) BACKEND_DEFAULT_AI_API_KEY="" # Default base URL (for local providers like ollama/lmstudio) BACKEND_DEFAULT_AI_BASE_URL="" # ----------------------------------------------------------------------------- # Website Configuration # ----------------------------------------------------------------------------- # URL where the app is hosted (used in "Join Free Alpha" links) WEBSITE_APP_URL="http://localhost:3000" # Git repository URL GIT_URL="https://git.kropa.tech/lotherk/deardiary"