# ============================================ # Memento - Docker Environment Configuration # ============================================ # Copy this file to .env.docker and update with your values. # ============================================ # Application URL # ============================================ # Change to your server IP or domain NEXTAUTH_URL="http://localhost:3000" # ============================================ # Authentication Secret # ============================================ # Generate with: openssl rand -base64 32 NEXTAUTH_SECRET="changethisinproduction" # ============================================ # PostgreSQL Configuration # ============================================ POSTGRES_PORT=5432 POSTGRES_DB=memento POSTGRES_USER=memento POSTGRES_PASSWORD=memento # ============================================ # MCP Server Configuration # ============================================ # Mode: 'stdio' (Claude Desktop, Cline) or 'sse' (N8N, HTTP) MCP_MODE="stdio" MCP_PORT="3001" # ============================================ # AI Provider - Tags Generation # ============================================ # Options: ollama, openai, custom AI_PROVIDER_TAGS=ollama AI_MODEL_TAGS="granite4:latest" # ============================================ # AI Provider - Embeddings # ============================================ # Options: ollama, openai, custom AI_PROVIDER_EMBEDDING=ollama AI_MODEL_EMBEDDING="embeddinggemma:latest" # ============================================ # Ollama Configuration # ============================================ # Docker service: http://ollama:11434 # Host machine: http://host.docker.internal:11434 # Remote server: http://YOUR_SERVER_IP:11434 OLLAMA_BASE_URL="http://ollama:11434" OLLAMA_MODEL="granite4:latest" # ============================================ # OpenAI Configuration # ============================================ # OPENAI_API_KEY="sk-..." # ============================================ # Custom OpenAI-Compatible Provider # ============================================ # OpenRouter, Groq, Together AI, Mistral, etc. # CUSTOM_OPENAI_API_KEY="your-api-key" # CUSTOM_OPENAI_BASE_URL="https://openrouter.ai/api/v1" # ============================================ # Email / SMTP Configuration # ============================================ # SMTP_HOST="smtp.gmail.com" # SMTP_PORT="587" # SMTP_USER="your-email@gmail.com" # SMTP_PASS="your-app-password" # SMTP_FROM="noreply@memento.app" # ============================================ # Application Settings # ============================================ # ALLOW_REGISTRATION=true