Update linkwarden-install.sh
This commit is contained in:
parent
5746f5c1c9
commit
41763b94ee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue