diff options
-rw-r--r-- | config.env.example | 3 | ||||
-rw-r--r-- | core/entrypoint.sh | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config.env.example b/config.env.example index c06f8d2..fb0f820 100644 --- a/config.env.example +++ b/config.env.example @@ -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 diff --git a/core/entrypoint.sh b/core/entrypoint.sh index e482274..6136b7e 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -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) |