Sportarr: update

This commit is contained in:
tremor021 2025-12-29 10:41:34 +01:00
parent a9ef97e5e9
commit a38a15df5b
3 changed files with 46 additions and 14 deletions

View File

@ -33,19 +33,7 @@ function update_script() {
systemctl stop sportarr systemctl stop sportarr
msg_ok "Stopped Sportarr Service" msg_ok "Stopped Sportarr Service"
msg_info "Creating Backup" fetch_and_deploy_gh_release "sportarr" "Sportarr/Sportarr" "prebuild" "latest" "/opt/sportarr" "Sportarr-linux-x64-*.tar.gz"
msg_ok "Created Backup"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "sportarr" "Sportarr/Sportarr" "prebuild" "latest" "/opt/sportarr" "Sportarr-linux-x64-*.tar.gz"
msg_info "Updating sportarr"
msg_ok "Updated sportarr"
msg_info "Restoring Backup"
msg_ok "Restored Backup"
msg_info "Starting Sportarr Service" msg_info "Starting Sportarr Service"
systemctl start sportarr systemctl start sportarr

View File

@ -0,0 +1,40 @@
{
"name": "Sportarr",
"slug": "sportarr",
"categories": [
14
],
"date_created": "2025-12-12",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 1867,
"documentation": "https://sportarr.net/docs",
"config_path": "/opt/sportarr/.env, /opt/sportarr-data/config/config.xml",
"website": "https://sportarr.net/",
"logo": "<requested from ethan>",
"description": "Sportarr is an automated media management application for all sports. It works similar to Sonarr and Radarr but specifically designed for combat sports, basketball, football, hockey, motorsports, and hundreds of other sports worldwide.",
"install_methods": [
{
"type": "default",
"script": "ct/sportarr.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 8,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "The resources assigned to LXC are considered baseline. Please adjust to match your workload.",
"type": "info"
}
]
}

View File

@ -13,11 +13,15 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt install -y ffmpeg
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "sportarr" "Sportarr/Sportarr" "prebuild" "latest" "/opt/sportarr" "Sportarr-linux-x64-*.tar.gz" fetch_and_deploy_gh_release "sportarr" "Sportarr/Sportarr" "prebuild" "latest" "/opt/sportarr" "Sportarr-linux-x64-*.tar.gz"
msg_info "Setting up Sportarr" msg_info "Setting up Sportarr"
cat <<EOF >/opt/sportarr/.env cat <<EOF >/opt/sportarr/.env
Sportarr__DataPath="/opt/sportarr/config" Sportarr__DataPath="/opt/sportarr-data/config"
ASPNETCORE_URLS="http://*:1867" ASPNETCORE_URLS="http://*:1867"
ASPNETCORE_ENVIRONMENT="Production" ASPNETCORE_ENVIRONMENT="Production"
DOTNET_CLI_TELEMETRY_OPTOUT=1 DOTNET_CLI_TELEMETRY_OPTOUT=1