This commit is contained in:
CanbiZ 2025-04-07 16:35:46 +02:00
parent 2b8162bba8
commit ab67755e47
3 changed files with 14 additions and 14 deletions

View File

@ -8,8 +8,8 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/
APP="MusicAssistant"
var_tags="${var_tags:-music}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-7}"
var_ram="${var_ram:-1024}"
var_disk="${var_disk:-4}"
var_os="${var_os:-ubuntu}"
var_version="${var_version:-24.10}"
var_unprivileged="${var_unprivileged:-1}"
@ -37,4 +37,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}meilisearch: http://${IP}:8095${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8095${CL}"

View File

@ -20,9 +20,9 @@
"resources": {
"cpu": 1,
"ram": 1024,
"hdd": 5,
"os": "Debian",
"version": "12"
"hdd": 4,
"os": "Ubuntu",
"version": "24.10"
}
}
],
@ -31,4 +31,4 @@
"password": null
},
"notes": []
}
}

View File

@ -33,12 +33,12 @@ rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Setup Python3"
msg_info "Setup Music Assistant"
fetch_and_deploy_gh_release music-assistant/server
$STD fetch_and_deploy_gh_release music-assistant/server
cd /opt/musicassistant
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip uv
uv pip install .
$STD python3 -m venv .venv
$STD source .venv/bin/activate
$STD pip install --upgrade pip uv
$STD uv pip install .
msg_ok "Setup Music Assistant"
msg_info "Creating systemd service"
@ -50,8 +50,8 @@ After=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/musicassistant
Environment="PATH=/opt/musicassistant/venv/bin"
ExecStart=/opt/musicassistant/venv/bin/mass
Environment="PATH=/opt/musicassistant/.venv/bin"
ExecStart=/opt/musicassistant/.venv/bin/mass
Restart=always
RestartForceExitStatus=100