Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
infrastructure:services:travail-collaboratif:etherpad:installation [24/08/2025 15:24] Stéphane Pailletinfrastructure:services:travail-collaboratif:etherpad:installation [24/08/2025 15:30] (Version actuelle) Stéphane Paillet
Ligne 59: Ligne 59:
 Nous ajoutons le connecteur pour Redis Nous ajoutons le connecteur pour Redis
 <code> <code>
-  "dbType" : "redis",+  "dbType" : "postgres",
   "dbSettings" : {   "dbSettings" : {
-    "host": "localhost", +    "user":     "etherpad", 
-    "port": 6379+    "host":     "localhost", 
-    "database": 0+    "port":     5432, 
 +    "password": "montsupermotdepasse"
 +    "database": "etherpad",
   },   },
 </code> </code>
Ligne 97: Ligne 99:
 WorkingDirectory=/opt/etherpad WorkingDirectory=/opt/etherpad
 Environment=NODE_ENV=production Environment=NODE_ENV=production
-ExecStart=/usr/bin/node /opt/etherpad/node_modules/ep_etherpad-lite/node/server.js+ExecStart=pnpm run prod 
 +# use mysql plus a complete settings.json to avoid Service hold-off time over, scheduling restart.
 Restart=always Restart=always
 +
 +StandardOutput=append:/var/log/etherpad/etherpad.log
 +StandardError=append:/var/log/etherpad/etherpad-error.log
  
 [Install] [Install]
Ligne 131: Ligne 137:
 sudo systemctl status etherpad.service sudo systemctl status etherpad.service
 </code> </code>
- 
  
 ===== Proxy Nginx ===== ===== Proxy Nginx =====
 +
 +Nous installons Nginx
 +<code>
 +sudo apt install -y nginx
 +</code>
  
 Nous créons un vHost Nginx Nous créons un vHost Nginx
  • infrastructure/services/travail-collaboratif/etherpad/installation.txt
  • Dernière modification : 24/08/2025 15:30
  • de Stéphane Paillet