aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-14 18:43:55 -0500
committerJesús <heckyel@hyperbola.info>2021-08-14 18:43:55 -0500
commit9a023aab3d2c7ba32d6afe30ba79c4aab1076635 (patch)
treeba7269792ea42560d384b73ad6b5d35ab72668f9 /core
parentc0949018cf580de3b4775467a387dba7b0c8651a (diff)
downloadyt-local-docker-9a023aab3d2c7ba32d6afe30ba79c4aab1076635.tar.lz
yt-local-docker-9a023aab3d2c7ba32d6afe30ba79c4aab1076635.tar.xz
yt-local-docker-9a023aab3d2c7ba32d6afe30ba79c4aab1076635.zip
Add new config
Diffstat (limited to 'core')
-rw-r--r--core/entrypoint.sh6
1 files changed, 6 insertions, 0 deletions
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)