2.0.0 Beta : Self-hosted Release

This commit is contained in:
2026-08-09 02:03:29 +08:00
parent 63a0751aba
commit 37cb05eb70
33 changed files with 810 additions and 31 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
set -eu
echo "YRTV 2.0.0 Beta · Superjacky6 Data Lab"
echo "Aliases: jacky / jk / yr / jacky0987"
echo "Runtime data: ${YRTV_DATA_DIR:-/data}"
python -m database.bootstrap
exec gunicorn wsgi:app \
--bind "0.0.0.0:${PORT:-5000}" \
--workers "${WEB_CONCURRENCY:-1}" \
--threads "${WEB_THREADS:-2}" \
--timeout "${WEB_TIMEOUT:-120}" \
--access-logfile - \
--error-logfile -