Fix Vaultwarden web vault deployment path

Updated the Vaultwarden install script to extract the web vault files into /opt/vaultwarden/web-vault instead of the root Vaultwarden directory. Also added creation of the web-vault directory. Reformatted checkmate.json for consistent indentation; no functional changes.
This commit is contained in:
CanbiZ (MickLesk) 2026-02-02 09:59:41 +01:00
parent 77c531683e
commit 660f451a6e
2 changed files with 47 additions and 47 deletions

View File

@ -1,48 +1,48 @@
{ {
"name": "Checkmate", "name": "Checkmate",
"slug": "checkmate", "slug": "checkmate",
"categories": [ "categories": [
9 9
], ],
"date_created": "2026-02-02", "date_created": "2026-02-02",
"type": "ct", "type": "ct",
"updateable": true, "updateable": true,
"privileged": false, "privileged": false,
"interface_port": 5173, "interface_port": 5173,
"documentation": "https://github.com/bluewave-labs/Checkmate#readme", "documentation": "https://github.com/bluewave-labs/Checkmate#readme",
"website": "https://github.com/bluewave-labs/Checkmate", "website": "https://github.com/bluewave-labs/Checkmate",
"logo": "https://raw.githubusercontent.com/bluewave-labs/Checkmate/develop/client/public/checkmate-logo-light.png", "logo": "https://raw.githubusercontent.com/bluewave-labs/Checkmate/develop/client/public/checkmate-logo-light.png",
"config_path": "/opt/checkmate/server/.env", "config_path": "/opt/checkmate/server/.env",
"description": "Checkmate is an open source uptime and infrastructure monitoring application that helps you track the availability and performance of your services.", "description": "Checkmate is an open source uptime and infrastructure monitoring application that helps you track the availability and performance of your services.",
"install_methods": [ "install_methods": [
{ {
"type": "default", "type": "default",
"script": "ct/checkmate.sh", "script": "ct/checkmate.sh",
"resources": { "resources": {
"cpu": 2, "cpu": 2,
"ram": 4096, "ram": 4096,
"hdd": 10, "hdd": 10,
"os": "Debian", "os": "Debian",
"version": "13" "version": "13"
} }
} }
], ],
"default_credentials": { "default_credentials": {
"username": null, "username": null,
"password": null "password": null
},
"notes": [
{
"text": "Create your admin account on first login via the web interface.",
"type": "info"
}, },
{ "notes": [
"text": "Server API runs on port 52345, Client UI on port 5173.", {
"type": "info" "text": "Create your admin account on first login via the web interface.",
}, "type": "info"
{ },
"text": "For PageSpeed monitoring, add a Google PageSpeed API key to the server .env file.", {
"type": "info" "text": "Server API runs on port 52345, Client UI on port 5173.",
} "type": "info"
] },
{
"text": "For PageSpeed monitoring, add a Google PageSpeed API key to the server .env file.",
"type": "info"
}
]
} }

View File

@ -34,11 +34,11 @@ msg_ok "Built Vaultwarden"
$STD addgroup --system vaultwarden $STD addgroup --system vaultwarden
$STD adduser --system --home /opt/vaultwarden --shell /usr/sbin/nologin --no-create-home --gecos 'vaultwarden' --ingroup vaultwarden --disabled-login --disabled-password vaultwarden $STD adduser --system --home /opt/vaultwarden --shell /usr/sbin/nologin --no-create-home --gecos 'vaultwarden' --ingroup vaultwarden --disabled-login --disabled-password vaultwarden
mkdir -p /opt/vaultwarden/{bin,data} mkdir -p /opt/vaultwarden/{bin,data,web-vault}
cp target/release/vaultwarden /opt/vaultwarden/bin/ cp target/release/vaultwarden /opt/vaultwarden/bin/
cd ~ && rm -rf /tmp/vaultwarden-src cd ~ && rm -rf /tmp/vaultwarden-src
fetch_and_deploy_gh_release "vaultwarden_webvault" "dani-garcia/bw_web_builds" "prebuild" "latest" "/opt/vaultwarden" "bw_web_*.tar.gz" fetch_and_deploy_gh_release "vaultwarden_webvault" "dani-garcia/bw_web_builds" "prebuild" "latest" "/opt/vaultwarden/web-vault" "bw_web_*.tar.gz"
cat <<EOF >/opt/vaultwarden/.env cat <<EOF >/opt/vaultwarden/.env
ADMIN_TOKEN='' ADMIN_TOKEN=''