Every installation now reports address and version to sites.kant-it.de every 15 minutes and picks up update orders there (ADR 123). Reports and answers are HMAC-signed with a per-installation key sent on first contact; an order can only install a published release with checksum. The next request after the file swap runs the migrations, so a remote update finishes without anyone in the admin. The platform itself lives in zentrale/ (plain PHP + SQLite, not part of the release archive): overview with outdated, silent and unassigned installations, single and bulk updates, per-site detail and history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
1.2 KiB
Bash
21 lines
1.2 KiB
Bash
# Vorlage: Der Installer erstellt daraus die Konfiguration .env.
|
|
# .env gehört der Installation und wird bei Updates erhalten, nicht in Git gespeichert.
|
|
# Installer, Setup und Admin-Pfad-Befehl schreiben ausschließlich in .env.
|
|
# Ältere .env.local-Einstellungen werden einmalig mit Sicherung zusammengeführt.
|
|
APP_ENV=prod
|
|
APP_DEBUG=0
|
|
DATABASE_URL="sqlite:///%kernel.project_dir%/var/cms.db"
|
|
# Für MySQL stattdessen, mit den Zugangsdaten des Hostings:
|
|
# DATABASE_URL="mysql://benutzer:passwort@127.0.0.1:3306/datenbank?charset=utf8mb4"
|
|
# Die oeffentliche Adresse der Website, mit oder ohne www - so, wie sie in Sitemap, Feed und
|
|
# Canonical stehen soll. Die andere Schreibweise leitet die Anwendung dorthin um.
|
|
SITE_ORIGIN=https://example.de
|
|
MEDIA_DIRECTORY="%kernel.project_dir%/var/media"
|
|
MAILER_DSN=sendmail://default
|
|
# Die Adresse der Verwaltung. Ohne Eintrag: /admin. Aenderbar mit
|
|
# `php bin/console cms:admin:path <neu>` - der Befehl schreibt sie nach .env.
|
|
#ADMIN_PATH=admin
|
|
# Die Zentrale, bei der sich diese Installation mit Adresse und Fassung meldet und von der sie
|
|
# Updates annimmt. Ohne Eintrag: https://sites.kant-it.de. Abschalten mit ZENTRALE_URL=aus.
|
|
#ZENTRALE_URL=https://sites.kant-it.de
|