docs: aligner la doc et la config sur memento-note.com
Remplace les références obsolètes note.parsanet.org / notes.parsanet.org dans les guides de déploiement et l'exemple Docker. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -118,4 +118,4 @@ SOCKET_PORT=3005
|
|||||||
SOCKET_HTTP_PORT=3003
|
SOCKET_HTTP_PORT=3003
|
||||||
SOCKET_INTERNAL_KEY=change-this-to-a-random-secret
|
SOCKET_INTERNAL_KEY=change-this-to-a-random-secret
|
||||||
SOCKET_INTERNAL_URL=http://memento-socket:3003
|
SOCKET_INTERNAL_URL=http://memento-socket:3003
|
||||||
NEXT_PUBLIC_SOCKET_URL=https://note.parsanet.org
|
NEXT_PUBLIC_SOCKET_URL=https://memento-note.com
|
||||||
|
|||||||
10
DEPLOY.md
10
DEPLOY.md
@@ -15,7 +15,7 @@
|
|||||||
```
|
```
|
||||||
Internet/LAN
|
Internet/LAN
|
||||||
|
|
|
|
||||||
[Nginx] ── port 80/443 ── notes.parsanet.org
|
[Nginx] ── port 80/443 ── memento-note.com
|
||||||
|
|
|
|
||||||
├── / ──► [memento-web] ── port 3000 ── Next.js App
|
├── / ──► [memento-web] ── port 3000 ── Next.js App
|
||||||
|
|
|
|
||||||
@@ -68,7 +68,7 @@ bash scripts/deploy-docker.sh --full
|
|||||||
|
|
||||||
Le script demande interactivement :
|
Le script demande interactivement :
|
||||||
- **ADMIN_EMAIL** (obligatoire) - le premier utilisateur inscrit avec cet email obtient le role ADMIN
|
- **ADMIN_EMAIL** (obligatoire) - le premier utilisateur inscrit avec cet email obtient le role ADMIN
|
||||||
- URL (mettre `http://192.168.1.190` ou `http://notes.parsanet.org`)
|
- URL (mettre `http://192.168.1.190` ou `https://memento-note.com`)
|
||||||
- Provider AI + cle API
|
- Provider AI + cle API
|
||||||
- MCP server, email, recherche web (optionnels)
|
- MCP server, email, recherche web (optionnels)
|
||||||
|
|
||||||
@@ -233,7 +233,7 @@ apt install -y nginx
|
|||||||
cat > /etc/nginx/sites-available/memento << 'EOF'
|
cat > /etc/nginx/sites-available/memento << 'EOF'
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name notes.parsanet.org 192.168.1.190;
|
server_name memento-note.com 192.168.1.190;
|
||||||
|
|
||||||
# Next.js app
|
# Next.js app
|
||||||
location / {
|
location / {
|
||||||
@@ -274,12 +274,12 @@ nginx -t && systemctl reload nginx
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt install -y certbot python3-certbot-nginx
|
apt install -y certbot python3-certbot-nginx
|
||||||
certbot --nginx -d notes.parsanet.org
|
certbot --nginx -d memento-note.com
|
||||||
|
|
||||||
# Puis mettre a jour NEXTAUTH_URL :
|
# Puis mettre a jour NEXTAUTH_URL :
|
||||||
cd /opt/memento
|
cd /opt/memento
|
||||||
nano .env.docker
|
nano .env.docker
|
||||||
# Changer : NEXTAUTH_URL="https://notes.parsanet.org"
|
# Changer : NEXTAUTH_URL="https://memento-note.com"
|
||||||
docker compose restart memento-note
|
docker compose restart memento-note
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ Résultat attendu :
|
|||||||
|
|
||||||
## Étape 7 : Tester le brainstorm
|
## Étape 7 : Tester le brainstorm
|
||||||
|
|
||||||
1. Ouvrir https://note.parsanet.org/brainstorm
|
1. Ouvrir https://memento-note.com/brainstorm
|
||||||
2. Taper une idée et cliquer le bouton +
|
2. Taper une idée et cliquer le bouton +
|
||||||
3. Vérifier que les 9 idées apparaissent sur le canvas
|
3. Vérifier que les 9 idées apparaissent sur le canvas
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
│ │
|
│ │
|
||||||
│ Cloudflare │ rsync chiffré
|
│ Cloudflare │ rsync chiffré
|
||||||
▼ ▼
|
▼ ▼
|
||||||
note.parsanet.org Serveur hors-site
|
memento-note.com Serveur hors-site
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -203,7 +203,7 @@ docker compose -f docker-compose.monitoring.yml ps
|
|||||||
### 2.6 Health API
|
### 2.6 Health API
|
||||||
|
|
||||||
```
|
```
|
||||||
GET https://note.parsanet.org/api/admin/health
|
GET https://memento-note.com/api/admin/health
|
||||||
```
|
```
|
||||||
|
|
||||||
Retourne :
|
Retourne :
|
||||||
@@ -256,7 +256,7 @@ Push → Gitea Actions CI → Lint + Test + Build
|
|||||||
- `CUSTOM_OPENAI_API_KEY`
|
- `CUSTOM_OPENAI_API_KEY`
|
||||||
|
|
||||||
**Variables :**
|
**Variables :**
|
||||||
- `APP_URL` — https://note.parsanet.org
|
- `APP_URL` — https://memento-note.com
|
||||||
- `ADMIN_EMAIL`
|
- `ADMIN_EMAIL`
|
||||||
- `POSTGRES_USER`, `POSTGRES_DB`, `POSTGRES_PORT`
|
- `POSTGRES_USER`, `POSTGRES_DB`, `POSTGRES_PORT`
|
||||||
- Toutes les variables AI provider
|
- Toutes les variables AI provider
|
||||||
|
|||||||
Reference in New Issue
Block a user