Update linkwarden-install.sh

This commit is contained in:
tteckster 2023-11-08 09:17:09 -05:00 committed by GitHub
parent 5746f5c1c9
commit 41763b94ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ env_path="/opt/linkwarden/.env"
echo " echo "
NEXTAUTH_SECRET=${SECRET_KEY} NEXTAUTH_SECRET=${SECRET_KEY}
NEXTAUTH_URL=http://${IP}:3000 NEXTAUTH_URL=http://${IP}:3000
DATABASE_URL=postgresql://linkwarden:password@localhost:5432/linkwardendb DATABASE_URL=postgresql://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}
" >$env_path " >$env_path
$STD yarn build $STD yarn build
$STD yarn prisma migrate deploy $STD yarn prisma migrate deploy