Dispatcharr: add folders in installer / add more build ressources (#8708)

This commit is contained in:
CanbiZ
2025-10-29 05:09:23 -07:00
committed by Michel Roegl-Brunner
parent 2bd408a1d9
commit 023ac07b77
3 changed files with 7 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
APP="Dispatcharr" APP="Dispatcharr"
var_tags="${var_tags:-media;arr}" var_tags="${var_tags:-media;arr}"
var_cpu="${var_cpu:-1}" var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}" var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}" var_disk="${var_disk:-8}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"

View File

@@ -19,7 +19,7 @@
"type": "default", "type": "default",
"script": "ct/dispatcharr.sh", "script": "ct/dispatcharr.sh",
"resources": { "resources": {
"cpu": 1, "cpu": 2,
"ram": 2048, "ram": 2048,
"hdd": 8, "hdd": 8,
"os": "debian", "os": "debian",

View File

@@ -57,6 +57,11 @@ $STD uv pip install gunicorn gevent celery redis daphne
msg_ok "Installed Python Dependencies" msg_ok "Installed Python Dependencies"
msg_info "Configuring Dispatcharr" msg_info "Configuring Dispatcharr"
install -d -m 755 \
/data/{logos,recordings,plugins,db} \
/data/uploads/{m3us,epgs} \
/data/{m3us,epgs}
chown -R root:root /data
export DATABASE_URL="postgresql://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}" export DATABASE_URL="postgresql://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}"
export POSTGRES_DB=$DB_NAME export POSTGRES_DB=$DB_NAME
export POSTGRES_USER=$DB_USER export POSTGRES_USER=$DB_USER