- auth.secret_key und smtp.* direkt in config/config.yaml aufgenommen - config/env.example entfernt, config/config.example.yaml als Vorlage hinzugefügt - meshbot/auth.py: config.env() → config.get() für alle Auth/SMTP-Werte - meshbot/config.py: ENV_PATH, _load_env(), env() entfernt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
609 B
YAML
36 lines
609 B
YAML
version: "0.08.17"
|
|
|
|
bot:
|
|
name: "MeshDD-Bot"
|
|
command_prefix: "?"
|
|
|
|
meshtastic:
|
|
host: "192.168.11.4"
|
|
port: 4403
|
|
|
|
web:
|
|
host: "0.0.0.0"
|
|
port: 8081
|
|
online_threshold: 900
|
|
|
|
database:
|
|
path: "meshdd.db"
|
|
|
|
auth:
|
|
session_max_age: 86400
|
|
secret_key: "4pY1h4S/pqpTojjPb7LV6TfaTZC8jas/DV3vixXIP8s="
|
|
|
|
smtp:
|
|
host: "ssl0.ovh.net"
|
|
port: 465
|
|
user: "info@meshdresden.eu"
|
|
password: "meshDresden"
|
|
from: "MeshDD-Bot <info@meshdresden.eu>"
|
|
app_url: "http://bot.home.pfeiffer-privat.de"
|
|
|
|
links:
|
|
- url: "https://meshtastic.org"
|
|
label: "Meshtastic"
|
|
- url: "https://meshmap.net"
|
|
label: "MeshMap"
|