- 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
542 B
YAML
36 lines
542 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: "change-this-secret-key-32bytes!!"
|
|
|
|
smtp:
|
|
host: ""
|
|
port: 465
|
|
user: ""
|
|
password: ""
|
|
from: "MeshDD-Bot <noreply@example.com>"
|
|
app_url: "http://localhost:8081"
|
|
|
|
links:
|
|
- url: "https://meshtastic.org"
|
|
label: "Meshtastic"
|
|
- url: "https://meshmap.net"
|
|
label: "MeshMap"
|