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