mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-26 00:35:54 +00:00
Update hanko-install.sh
This commit is contained in:
@@ -15,6 +15,7 @@ update_os
|
||||
|
||||
setup_yq
|
||||
PG_VERSION="16" setup_postgresql
|
||||
NODE_VERSION=22 NODE_MODULE="yarn@latest,npm@latest" setup_nodejs
|
||||
|
||||
msg_info "Setting up PostgreSQL Database"
|
||||
DB_NAME=hanko
|
||||
@@ -45,6 +46,8 @@ yq eval '
|
||||
.database.dialect = "postgres" |
|
||||
.app.secret = strenv(APP_SECRET)
|
||||
' -i /opt/hanko/config.yaml
|
||||
$STD /opt/hanko/hanko --config /opt/hanko/config.yaml migrate up
|
||||
yarn add @teamhanko/hanko-elements
|
||||
msg_ok "Setup Hanko"
|
||||
|
||||
msg_info "Setup Service"
|
||||
|
||||
Reference in New Issue
Block a user