fix: rename application from Keep to Mento in UI and docs
- Update sidebar.tsx to display "Mento" instead of "Keep" - Update README.md title from "Keep Notes" to "Mento" - Update DOCKER_DEPLOYMENT.md references to "Mento" - Update deploy.sh script comments to use "Mento" - Add DOCKER-SETUP.md with Docker configuration guide Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e6bcdea641
commit
58e486c68e
@ -56,7 +56,8 @@
|
||||
"mcp__context7__query-docs",
|
||||
"Bash(docker logs:*)",
|
||||
"Bash(docker run:*)",
|
||||
"Bash(docker exec:*)"
|
||||
"Bash(docker exec:*)",
|
||||
"Bash(git reset:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
81
DOCKER-SETUP.md
Normal file
81
DOCKER-SETUP.md
Normal file
@ -0,0 +1,81 @@
|
||||
# Docker Configuration Guide
|
||||
|
||||
## Configuration des Providers IA
|
||||
|
||||
Le fichier `.env.docker` n'est PAS versionné par Git (.gitignore). Vous devez le créer manuellement sur votre serveur.
|
||||
|
||||
### Étape 1: Créer le fichier `.env.docker`
|
||||
|
||||
Sur votre serveur Proxmox:
|
||||
|
||||
```bash
|
||||
cd /path/to/Keep
|
||||
cp .env.docker.example .env.docker
|
||||
nano .env.docker
|
||||
```
|
||||
|
||||
### Étape 2: Configurer selon votre setup
|
||||
|
||||
#### Option A: Ollama dans Docker (service Docker)
|
||||
|
||||
```bash
|
||||
NEXTAUTH_URL="http://192.168.1.190:3000"
|
||||
AI_PROVIDER=ollama
|
||||
OLLAMA_BASE_URL="http://ollama:11434"
|
||||
OLLAMA_MODEL="granite4:latest"
|
||||
```
|
||||
|
||||
**Important:** Utilisez `ollama:11434` (nom du service Docker) PAS `localhost:11434`
|
||||
|
||||
#### Option B: OpenAI (Cloud)
|
||||
|
||||
```bash
|
||||
NEXTAUTH_URL="http://192.168.1.190:3000"
|
||||
AI_PROVIDER=openai
|
||||
OPENAI_API_KEY="sk-votre-cle-ici"
|
||||
```
|
||||
|
||||
Puis dans l'interface admin:
|
||||
1. Configurez Tags Provider → OpenAI
|
||||
2. Configurez Embeddings Provider → OpenAI
|
||||
3. Entrez votre clé API
|
||||
|
||||
#### Option C: Ollama sur l'hôte (hors Docker)
|
||||
|
||||
```bash
|
||||
NEXTAUTH_URL="http://192.168.1.190:3000"
|
||||
AI_PROVIDER=ollama
|
||||
OLLAMA_BASE_URL="http://192.168.1.190:11434"
|
||||
OLLAMA_MODEL="granite4:latest"
|
||||
```
|
||||
|
||||
Utilisez l'IP de votre serveur PAS `localhost`
|
||||
|
||||
### Étape 3: Rebuild et redémarrer
|
||||
|
||||
```bash
|
||||
docker compose down
|
||||
docker compose build --no-cache keep-notes
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
### Étape 4: Vérifier dans l'interface Admin
|
||||
|
||||
1. Allez sur http://192.168.1.190:3000/admin/settings
|
||||
2. Section "AI Settings"
|
||||
3. Vous pouvez maintenant changer le provider pour Tags et Embeddings indépendamment
|
||||
|
||||
### Problèmes fréquents
|
||||
|
||||
**Erreur: `ECONNREFUSED 127.0.0.1:11434`**
|
||||
- Problème: Le code essaie d'utiliser `localhost` au lieu du service Docker
|
||||
- Solution: Assurez-vous que `.env.docker` existe avec `OLLAMA_BASE_URL="http://ollama:11434"`
|
||||
|
||||
**Le provider ne change pas dans l'admin**
|
||||
- Sauvegardez les modifications dans l'admin
|
||||
- Rafraîchissez la page (F5)
|
||||
- Vérifiez "Current value" affichée sous le dropdown
|
||||
|
||||
**Seul la génération de titres fonctionne**
|
||||
- Vérifiez que le bon provider est sélectionné pour Tags ET Embeddings
|
||||
- Ce sont 2 providers séparés dans l'interface admin
|
||||
BIN
bug icon.png
Normal file
BIN
bug icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 146 KiB |
@ -1,6 +1,6 @@
|
||||
# 🐳 Docker Deployment Guide for Proxmox
|
||||
|
||||
Complete guide to deploy Keep Notes on Proxmox using Docker Compose.
|
||||
Complete guide to deploy Mento on Proxmox using Docker Compose.
|
||||
|
||||
## 📋 Prerequisites
|
||||
|
||||
@ -375,7 +375,7 @@ usermod -aG docker ubuntu
|
||||
# Add: features: nesting=1,keyctl=1
|
||||
```
|
||||
|
||||
Then deploy Keep Notes as described above.
|
||||
Then deploy Mento as described above.
|
||||
|
||||
## 📚 Additional Resources
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
# Keep Notes - Google Keep Clone
|
||||
# Mento - Google Keep Clone
|
||||
|
||||
A beautiful and feature-rich Google Keep clone built with modern web technologies.
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
@ -79,7 +79,7 @@ export function Sidebar({ className, user }: { className?: string, user?: any })
|
||||
<StickyNote className="h-5 w-5" />
|
||||
</div>
|
||||
<div className="flex flex-col">
|
||||
<span className="text-lg font-bold tracking-tight text-slate-900 dark:text-white leading-none">Keep</span>
|
||||
<span className="text-lg font-bold tracking-tight text-slate-900 dark:text-white leading-none">Mento</span>
|
||||
<span className="text-[10px] font-medium text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">{t('nav.workspace')}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Keep Notes Docker Deployment Script
|
||||
# This script helps you build and deploy Keep Notes on Proxmox/Docker
|
||||
# Mento Docker Deployment Script
|
||||
# This script helps you build and deploy Mento on Proxmox/Docker
|
||||
|
||||
set -e
|
||||
|
||||
echo "🚀 Keep Notes Docker Deployment"
|
||||
echo "🚀 Mento Docker Deployment"
|
||||
echo "================================"
|
||||
echo ""
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user