Adjust Checkmate build/env and service handling

Pass VITE_APP_API_BASE_URL, UPTIME_APP_API_BASE_URL and VITE_APP_LOG_LEVEL into the Checkmate client build so the frontend targets /api/v1 and uses a warn log level (applied in both update and install scripts). Rename PORT to SERVER_HOST/SERVER_PORT in the installer and set SERVER_HOST=0.0.0.0 so the server binds correctly. Use quiet systemctl enable (-q --now) for checkmate services and reload nginx instead of re-enabling it. Move vaultwarden-install.sh into install/deferred/.
This commit is contained in:
CanbiZ (MickLesk)
2026-02-02 13:57:08 +01:00
parent 891d3396dc
commit 6df5531fb4
3 changed files with 7 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ function update_script() {
msg_info "Updating Checkmate Client"
cd /opt/checkmate/client
$STD npm install
$STD npm run build
VITE_APP_API_BASE_URL="/api/v1" UPTIME_APP_API_BASE_URL="/api/v1" VITE_APP_LOG_LEVEL="warn" $STD npm run build
msg_ok "Updated Checkmate Client"
msg_info "Restoring Data"