Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion frontend/public/json/valkey.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,10 @@
"username": null,
"password": null
},
"notes": []
"notes": [
{
"text": "Show Login Credentials, type `cat ~/valkey.creds` in the LXC console",
"type": "info"
}
]
}
6 changes: 5 additions & 1 deletion install/valkey-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ update_os

msg_info "Installing Valkey"
$STD apt update
$STD apt install -y valkey
$STD apt install -y valkey openssl
sed -i 's/^bind .*/bind 0.0.0.0/' /etc/valkey/valkey.conf
PASS="$(openssl rand -base64 48 | tr -dc 'a-zA-Z0-9' | head -c32)"
echo "requirepass $PASS" >> /etc/valkey/valkey.conf
echo "$PASS" >~/valkey.creds
chmod 600 ~/valkey.creds
systemctl enable -q --now valkey-server
systemctl restart valkey-server
msg_ok "Installed Valkey"
Expand Down