Skip to content

Commit

Permalink
Added hmac_key parameter (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelahas10 authored Jan 10, 2024
1 parent a82d22d commit dec1730
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions stack/invidious-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions template/apps/invidious.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions tools/install_invidious.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit dec1730

Please sign in to comment.