chore: clean up repo for public release
- Remove BMAD framework, IDE configs, dev screenshots, test files, internal docs, and backup files - Rename keep-notes/ to memento-note/ - Update all references from keep-notes to memento-note - Add Apache 2.0 license with Commons Clause (non-commercial restriction) - Add clean .gitignore and .env.docker.example
This commit is contained in:
@@ -1,67 +1,80 @@
|
||||
# ============================================
|
||||
# Docker / Production Environment Template
|
||||
# Memento - Docker Environment Configuration
|
||||
# ============================================
|
||||
# Copy this file to .env.docker and update with your server IP/domain
|
||||
# Copy this file to .env.docker and update with your values.
|
||||
|
||||
# IMPORTANT: Update NEXTAUTH_URL with your server IP or domain name
|
||||
# Examples:
|
||||
# - IP: NEXTAUTH_URL="http://192.168.1.190:3000"
|
||||
# - Domain: NEXTAUTH_URL="http://your-domain.com"
|
||||
# - HTTPS: NEXTAUTH_URL="https://your-domain.com"
|
||||
# ============================================
|
||||
# Application URL
|
||||
# ============================================
|
||||
# Change to your server IP or domain
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
|
||||
NEXTAUTH_URL="http://YOUR_SERVER_IP: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
|
||||
# ============================================
|
||||
# Choose the MCP server mode:
|
||||
# - 'stdio': Standard I/O mode (default) - for Claude Desktop, Cline, etc.
|
||||
# - 'sse': Server-Sent Events mode - for N8N HTTP transport, remote access
|
||||
|
||||
# Mode: 'stdio' (Claude Desktop, Cline) or 'sse' (N8N, HTTP)
|
||||
MCP_MODE="stdio"
|
||||
MCP_PORT="3001"
|
||||
|
||||
# ============================================
|
||||
# AI Provider Configuration
|
||||
# AI Provider - Tags Generation
|
||||
# ============================================
|
||||
# You can configure separate providers for tags and embeddings
|
||||
# Options: ollama, openai, custom
|
||||
|
||||
# For local Ollama in Docker (service name):
|
||||
# AI_PROVIDER_TAGS=ollama
|
||||
# AI_PROVIDER_EMBEDDING=ollama
|
||||
# OLLAMA_BASE_URL="http://ollama:11434"
|
||||
# AI_MODEL_TAGS="granite4:latest"
|
||||
# AI_MODEL_EMBEDDING="embeddinggemma:latest"
|
||||
|
||||
# For external Ollama (on host or different server):
|
||||
# AI_PROVIDER_TAGS=ollama
|
||||
# AI_PROVIDER_EMBEDDING=ollama
|
||||
# OLLAMA_BASE_URL="http://YOUR_SERVER_IP:11434"
|
||||
# AI_MODEL_TAGS="granite4:latest"
|
||||
# AI_MODEL_EMBEDDING="embeddinggemma:latest"
|
||||
|
||||
# For OpenAI (recommended for production):
|
||||
# AI_PROVIDER_TAGS=openai
|
||||
# AI_PROVIDER_EMBEDDING=openai
|
||||
# OPENAI_API_KEY="sk-..."
|
||||
# AI_MODEL_TAGS="gpt-4o-mini"
|
||||
# AI_MODEL_EMBEDDING="text-embedding-3-small"
|
||||
|
||||
# Mixed setup (e.g., Ollama for tags, OpenAI for embeddings):
|
||||
# AI_PROVIDER_TAGS=ollama
|
||||
# AI_PROVIDER_EMBEDDING=openai
|
||||
# OLLAMA_BASE_URL="http://ollama:11434"
|
||||
# OPENAI_API_KEY="sk-..."
|
||||
# AI_MODEL_TAGS="granite4:latest"
|
||||
# AI_MODEL_EMBEDDING="text-embedding-3-small"
|
||||
AI_PROVIDER_TAGS=ollama
|
||||
AI_MODEL_TAGS="granite4:latest"
|
||||
|
||||
# ============================================
|
||||
# Email Configuration (Optional)
|
||||
# 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
|
||||
# ============================================
|
||||
# Uncomment and configure for email features (password reset, reminders)
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user