2.0.0 Beta : Self-hosted Release
This commit is contained in:
Executable
+17
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user