Benutzer-Werkzeuge

Webseiten-Werkzeuge


infrastruktur:container:md

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
infrastruktur:container:md [15.09.2021 14:21] – [Installation und Konfiguration] Malteinfrastruktur:container:md [01.06.2024 15:29] (aktuell) – [Tabelle] Malte
Zeile 1: Zeile 1:
 ====== md (Hedgedoc) ====== ====== md (Hedgedoc) ======
  
-|Verantwortung  |Malte                           +| Verantwortung  | Malte                               
-|Container      |md                         +| Container      | md                                  
-|W. Ports       |keine                          +| W. Ports       | keine                               
-|OS             |Debian 10.10                      +| OS             | Debian 12.5                         
-|Server         |[[infrastruktur:server:magrathea]] | +| Server         | [[infrastruktur:server:magrathea]]  
-|Zustand        |Produktiv                      |+| Zustand        | Produktiv                           |
  
-{{tag>infrasystem container productive magrathea ldapconnected}}+{{tag>infrasystem container productive magrathea ldapconnected malte}}
  
 Dies ist die technische Doku zu unserem Container md. [[hackspace:infrastruktur:md|Nutzerinfos zu hedgedoc findest du hier]]. Dies ist die technische Doku zu unserem Container md. [[hackspace:infrastruktur:md|Nutzerinfos zu hedgedoc findest du hier]].
Zeile 17: Zeile 17:
  
 ===== Services ===== ===== Services =====
-^ Serviceübersicht^Version^ +^ Serviceübersicht  ^ Version               
-|nodejs| 16.6.0-1nodesource1 | +| nodejs            20.14.0-1nodesource1  
-|postgresql| 13+226.pgdg100+1 | +| postgresql        16+260.pgdg100+1      
-|Hedgedoc| 1.8.|+| Hedgedoc          | 1.9.9                 |
  
 ===== Updates ===== ===== Updates =====
  
 +Da die gesamte Konfiguration über den systemd-Service erfolgt (siehe unten) kann für ein Update einfach ''/opt/hedgedoc'' komplett gelöscht und neu installiert werden:
 +
 +<code sh>
 +mv /opt/hedgedoc /opt/hedgedoc-old
 +wget https://github.com/hedgedoc/hedgedoc/releases/download/1.9.0/hedgedoc-1.9.9.tar.gz
 +tar xvf hedgedoc-1.9.9.tar.gz
 +mv hedgedoc /opt/
 +chown -R hedgedoc:hedgedoc /opt/hedgedoc
 +cd /opt/hedgedoc
 +./bin/setup
 +</code>
 +
 +Uploads migrieren:
 +<code>
 +cp /opt/hedgedoc-old/public/uploads/* /opt/hedgedoc/public/uploads/
 +</code>
 ===== Installation und Konfiguration ===== ===== Installation und Konfiguration =====
  
Zeile 33: Zeile 49:
  
 <code sh> <code sh>
-curl -fsSL https://deb.nodesource.com/setup_16.x | bash -+curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
 apt-get install -y nodejs apt-get install -y nodejs
 </code> </code>
Zeile 157: Zeile 173:
 Environment=CMD_LDAP_BINDCREDENTIALS=PASSWORD_CHANGE_ME Environment=CMD_LDAP_BINDCREDENTIALS=PASSWORD_CHANGE_ME
 Environment=CMD_LDAP_SEARCHBASE=dc=chaotikum,dc=org Environment=CMD_LDAP_SEARCHBASE=dc=chaotikum,dc=org
-Environment=CMD_LDAP_SEARCHFILTER=(&(objectClass=OrganizationalPerson)(uid={{username}})(memberOf=cn=freigeschaltet,ou=groups,ou=internal,dc=chaotikum,dc=org))+Environment=CMD_LDAP_SEARCHFILTER=(&(objectClass=OrganizationalPerson)(uid={{username}})(memberOf=cn=freigeschaltet,ou=groups,dc=chaotikum,dc=org))
 Environment=CMD_LDAP_USERNAMEFIELD=displayName Environment=CMD_LDAP_USERNAMEFIELD=displayName
 Environment=CMD_LDAP_USERIDFIELD=uid Environment=CMD_LDAP_USERIDFIELD=uid
infrastruktur/container/md.1631715719.txt.gz · Zuletzt geändert: 15.09.2021 14:21 von Malte