Add new config
This commit is contained in:
parent
c0949018cf
commit
9a023aab3d
@ -2,6 +2,9 @@
|
|||||||
# yt-local options
|
# yt-local options
|
||||||
#
|
#
|
||||||
|
|
||||||
|
APP_PUBLIC=True
|
||||||
|
APP_URL=http://example.org
|
||||||
|
|
||||||
ROUTE_TOR=0
|
ROUTE_TOR=0
|
||||||
TOR_PORT=9050
|
TOR_PORT=9050
|
||||||
TOR_CONTROL_PORT=9151
|
TOR_CONTROL_PORT=9151
|
||||||
|
@ -7,6 +7,12 @@ if [ ! -d "/root/.youtube-local" ]; then
|
|||||||
|
|
||||||
# generate config
|
# generate config
|
||||||
cat > /root/.youtube-local/settings.txt <<- EOF
|
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
|
# 0 - Off
|
||||||
# 1 - On, except video
|
# 1 - On, except video
|
||||||
# 2 - On, including video (see warnings)
|
# 2 - On, including video (see warnings)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user