Add new config

This commit is contained in:
Jesús 2021-08-14 18:43:55 -05:00
parent c0949018cf
commit 9a023aab3d
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,9 @@
# yt-local options
#
APP_PUBLIC=True
APP_URL=http://example.org
ROUTE_TOR=0
TOR_PORT=9050
TOR_CONTROL_PORT=9151

View File

@ -7,6 +7,12 @@ if [ ! -d "/root/.youtube-local" ]; then
# generate config
cat > /root/.youtube-local/settings.txt <<- EOF
# Set app public mode, disabled by default
app_public = ${APP_PUBLIC:-False}
# Set URL of app for example: http://localhost
app_url = ${APP_URL:-http://localhost}
# 0 - Off
# 1 - On, except video
# 2 - On, including video (see warnings)