mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-20 12:35:16 +00:00
Dispatcharr: add folders in installer / add more build ressources (#8708)
This commit is contained in:
committed by
Michel Roegl-Brunner
parent
2bd408a1d9
commit
023ac07b77
@@ -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}"
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user