Aiirondev_dev 776deaec97 Enhance admin dashboard and team management features
- Added a quick admin link section in the admin dashboard for managing team cards.
- Updated the admin licenses template to correct German language spelling.
- Improved the appointments template with conditional rendering for test package options.
- Enhanced the base template with a logo image and adjusted brand styling.
- Updated the license management template for consistent German language usage.
- Removed the tutorial template and replaced it with a new admin team management template.
- Introduced a new admin team management page allowing for the addition, editing, and deletion of team members.
2026-04-09 17:14:44 +02:00

Key Service Server

Dieses Repo nutzt zwei zentrale Shell-Skripte:

  • gitea.sh: Start/Stop/Status der Docker-Services (Gitea + Website)
  • nginx.sh: Nginx Reverse Proxy, SSL-Zertifikate und Aktivierung/Deaktivierung der Sites

Voraussetzungen

  • Docker + Docker Compose Plugin
  • Nginx
  • OpenSSL
  • Optional: UFW (wird automatisch fuer 80/443 konfiguriert, wenn aktiv)

1) Docker Services (gitea.sh)

Datei: gitea.sh

Befehle

  • sudo ./gitea.sh start

    • Erstellt/aktualisiert Gitea Compose unter /opt/gitea-server/docker-compose.yml
    • Startet Gitea und Website Docker Services
    • Schreibt Runtime-Werte nach /opt/gitea-server/runtime.env fuer Nginx
  • sudo ./gitea.sh stop

    • Stoppt Gitea und Website Docker Services
  • sudo ./gitea.sh restart

    • Entspricht stop gefolgt von start
  • sudo ./gitea.sh status

    • Zeigt laufende Container fuer Gitea/Website an

Wichtige Ports

  • Gitea intern: 127.0.0.1:3001 (fix)
  • Gitea SSH: 2222
  • Website Upstream: 4999

2) Nginx (nginx.sh)

Datei: nginx.sh

Befehle

  • sudo ./nginx.sh apply

    • Liest Runtime-Werte aus /opt/gitea-server/runtime.env
    • Erstellt Nginx Site-Konfigurationen fuer:
      • update.meine-domain -> Gitea
      • meine-domain -> Website
    • Prueft Zertifikate im Ordner /etc/nginx/certs
    • Falls Zertifikate fehlen: erzeugt self-signed Zertifikate automatisch
    • Testet Nginx-Konfiguration und laedt Nginx neu
  • sudo ./nginx.sh disable

  • sudo ./nginx.sh deactivate

    • Deaktiviert die verwalteten Nginx Sites (gitea, website)
    • Testet und laedt Nginx neu

Typischer Ablauf

  1. Docker Services starten:
sudo ./gitea.sh start
  1. Nginx konfigurieren/aktivieren:
sudo ./nginx.sh apply
  1. Status pruefen:
sudo ./gitea.sh status
  1. Nginx bei Bedarf deaktivieren:
sudo ./nginx.sh disable

Nginx Templates

Die Nginx-Vorlagen liegen unter nginx:

S
Description
No description provided
Readme 20 MiB
Languages
HTML 58.2%
Python 33.6%
JavaScript 6.1%
Shell 1.8%
Dockerfile 0.3%