diff --git a/stack/invidious-amd64.yml b/stack/invidious-amd64.yml index 671dbd1b..4ded6151 100644 --- a/stack/invidious-amd64.yml +++ b/stack/invidious-amd64.yml @@ -27,6 +27,7 @@ services: registration_enabled: ${REGISTRATION_ENABLED} login_enabled: ${LOGIN_ENABLED} captcha_enabled: ${CAPTCHA_ENABLED} + hmac_key: ${HMAC_KEY} channel_threads: 1 feed_threads: 1 default_user_preferences: diff --git a/template/apps/invidious.json b/template/apps/invidious.json index 401de62f..eb14fd3d 100644 --- a/template/apps/invidious.json +++ b/template/apps/invidious.json @@ -133,6 +133,11 @@ } ] }, + { + "default": "CHANGE_ME!!!", + "label": "HMAC_KEY", + "name": "HMAC_KEY" + }, { "default": "US", "description": "Look in the configuration example (link above) for more codes", diff --git a/tools/install_invidious.sh b/tools/install_invidious.sh index 59d7f20f..de8121e4 100755 --- a/tools/install_invidious.sh +++ b/tools/install_invidious.sh @@ -41,3 +41,4 @@ sudo chmod +x "${BASE_DIR}/$f" echo "Preparation completed, proceed installation in portainer" echo -e "Suggestion for \\e[1mDB_PASSWORD\\e[39m: \\e[33m$(openssl rand -base64 24)\\e[39m" +echo -e "Suggestion for \\e[1mHMAC_KEY\\e[39m: \\e[33m$(openssl rand -hex 20)\\e[39m" \ No newline at end of file