Update install/ghostfolio-install.sh
This commit is contained in:
parent
fd2fbd36db
commit
54a69a9922
@ -39,7 +39,6 @@ DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
|||||||
REDIS_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
REDIS_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
||||||
ACCESS_TOKEN_SALT=$(openssl rand -base64 32)
|
ACCESS_TOKEN_SALT=$(openssl rand -base64 32)
|
||||||
JWT_SECRET_KEY=$(openssl rand -base64 32)
|
JWT_SECRET_KEY=$(openssl rand -base64 32)
|
||||||
|
|
||||||
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME;"
|
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME;"
|
||||||
$STD sudo -u postgres psql -c "CREATE USER $DB_USER WITH ENCRYPTED PASSWORD '$DB_PASS';"
|
$STD sudo -u postgres psql -c "CREATE USER $DB_USER WITH ENCRYPTED PASSWORD '$DB_PASS';"
|
||||||
$STD sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE $DB_NAME TO $DB_USER;"
|
$STD sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE $DB_NAME TO $DB_USER;"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user