mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-05 07:20:17 +00:00
Update homarr-install.sh
This commit is contained in:
parent
41a836f990
commit
0680fbfac7
@ -47,12 +47,12 @@ mv homarr-${RELEASE} /opt/homarr
|
|||||||
mkdir -p /opt/homarr_db
|
mkdir -p /opt/homarr_db
|
||||||
touch /opt/homarr_db/db.sqlite
|
touch /opt/homarr_db/db.sqlite
|
||||||
AUTH_SECRET="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"
|
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
|
cat <<EOF >/opt/homarr/.env
|
||||||
AUTH_SECRET="${AUTH_SECRET}"
|
AUTH_SECRET='${AUTH_SECRET}'
|
||||||
DB_DRIVER='better-sqlite3'
|
DB_DRIVER='better-sqlite3'
|
||||||
SECRET_ENCRYPTION_KEY="${SECRET_ENCRYPTION_KEY}"
|
SECRET_ENCRYPTION_KEY='${SECRET_ENCRYPTION_KEY}'
|
||||||
DB_URL='/opt/homarr_db/db.sqlite'
|
DB_URL='/opt/homarr_db/db.sqlite'
|
||||||
TURBO_TELEMETRY_DISABLED=1
|
TURBO_TELEMETRY_DISABLED=1
|
||||||
NODE_OPTIONS='-r @homarr/log/override'
|
NODE_OPTIONS='-r @homarr/log/override'
|
||||||
|
Loading…
Reference in New Issue
Block a user