1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-01 14:51:50 +00:00

Update homarr-install.sh

This commit is contained in:
CanbiZ 2025-01-28 16:59:27 +01:00 committed by GitHub
parent 41a836f990
commit 0680fbfac7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,12 +47,12 @@ mv homarr-${RELEASE} /opt/homarr
mkdir -p /opt/homarr_db
touch /opt/homarr_db/db.sqlite
AUTH_SECRET="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"
SECRET_ENCRYPTION_KEY="$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)"
SECRET_ENCRYPTION_KEY="$(openssl rand -hex 32)"
cat <<EOF >/opt/homarr/.env
AUTH_SECRET="${AUTH_SECRET}"
AUTH_SECRET='${AUTH_SECRET}'
DB_DRIVER='better-sqlite3'
SECRET_ENCRYPTION_KEY="${SECRET_ENCRYPTION_KEY}"
SECRET_ENCRYPTION_KEY='${SECRET_ENCRYPTION_KEY}'
DB_URL='/opt/homarr_db/db.sqlite'
TURBO_TELEMETRY_DISABLED=1
NODE_OPTIONS='-r @homarr/log/override'