Configure VM services and fix auth flow

- point MySQL and Whisper settings to the VM
- add VM MySQL bootstrap scripts and docs
- allow LAN Vite origins for CORS
- fix Express 5 validation assignment crash
- allow login with username or email
- prevent recursive auth refresh retries
This commit is contained in:
KevinB-T committed 2026-05-15 15:19:49 +05:30
1 parent ca2d1cd716
commit 30894e7f27
151 files changed
+21128

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
[Unit]
Description=Orphion Faster-Whisper HTTP API
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=cezen
Group=cezen
WorkingDirectory=/home/cezen/whisper
Environment=WHISPER_MODEL=large-v3
Environment=WHISPER_MODEL_DIR=/home/cezen/whisper/models
Environment=WHISPER_FILE_FIELD=file
ExecStart=/home/cezen/whisper/venv/bin/python /home/cezen/whisper/server.py --host 0.0.0.0 --port 8000
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target