Files
0012/.env.example
T
Frank Schwenk 9b18b11f32 feat: boka push ingest and stale monitoring (todo 04)
Add token- and IP-protected ingest.php, boka status checks in monitor.php,
and document the two-repo push workflow. Todo 04 marked complete.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:51:19 +02:00

59 lines
1.7 KiB
Bash

# Kopie nach .env — niemals committen.
# Nur für diese Maschine: Deploy (FTP), lokale Tests.
# Server-Secrets → server.env (siehe server.env.example), nicht .env deployen!
# --- Hosting / Plesk (Classic 1.0, 0012.de) ---
PLESK_URL=https://ha01s019.org-dns.com:8443/
PLESK_USER=
PLESK_PASSWORD=
# FTP (gleiche Credentials wie Plesk laut Hoster)
FTP_HOST=ha01s019.org-dns.com
FTP_USER=
FTP_PASSWORD=
# Relativer Pfad zum Document Root (in Plesk prüfen, typisch httpdocs)
FTP_REMOTE_PATH=httpdocs
# Ausserhalb Document Root — nicht öffentlich (config, .env, data)
FTP_PRIVATE_PATH=private
# --- Domain & Server ---
DOMAIN=0012.de
HOSTING_SERVER=ha01s019.org-dns.com
HOSTING_SERVER_IP=62.108.32.139
NAMESERVER_1=ns1.org-ns.com
NAMESERVER_2=ns2.org-ns.com
# --- SMTP (Plesk-Mail auf diesem Webspace) ---
# Login: Hauptpostfach admin@0012.de (Aliase: monitor@, alert@)
SMTP_HOST=ha01s019.org-dns.com
SMTP_PORT=587
SMTP_ENCRYPTION=tls
SMTP_USER=admin@0012.de
SMTP_PASSWORD=
# Absender für System-Mails — Alias monitor@0012.de
SMTP_FROM=monitor@0012.de
# Empfänger für Alarme (persönliche Adresse)
ALERT_EMAIL=
# --- Monitoring: Pull-Checks (monitor.php) ---
# Reminder wenn Target-Liste länger nicht geprüft (Tage seit last_reviewed_at)
TARGETS_REVIEW_INTERVAL_DAYS=90
# --- Monitoring: Push von boka → Webspace ---
# Token für ingest.php (stark, zufällig; identisch auf boka)
MONITOR_INGEST_TOKEN=
MONITOR_INGEST_URL=https://0012.de/ingest.php
BOKA_IP=89.163.231.180
BOKA_PUSH_STALE_MINUTES=15
BOKA_DISK_WARN_PERCENT=85
BOKA_BACKUP_STALE_HOURS=25
# --- Monitoring: optionale Telegram-Alerts ---
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# --- boka (vServer, Gegenstück) ---
BOKA_HOST=boka
BOKA_IP=89.163.231.180
BOKA_SSH_USER=