Update ytdl to use a known system user
This commit is contained in:
parent
c5743a2578
commit
1307864afc
@ -2,18 +2,24 @@ module "ytdl-web" {
|
|||||||
source = "./service"
|
source = "./service"
|
||||||
|
|
||||||
name = "ytdl-web"
|
name = "ytdl-web"
|
||||||
image = "iamthefij/ytdl-web:0.1.1"
|
image = "iamthefij/ytdl-web:0.1.3"
|
||||||
args = ["poetry", "run", "python", "-m", "ytdl_web.web", "--downloader"]
|
args = ["poetry", "run", "python", "-m", "ytdl_web.web", "--downloader"]
|
||||||
ingress = true
|
ingress = true
|
||||||
service_port = 5000
|
service_port = 5000
|
||||||
use_wesher = var.use_wesher
|
use_wesher = var.use_wesher
|
||||||
# service_check = null
|
# service_check = null
|
||||||
|
user = "1001:100"
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
QUEUE_DIR = "/data/queue"
|
QUEUE_DIR = "/data/queue"
|
||||||
OUTPUT_TMPL = "/media/RomeTube/%(uploader)s%(channel)s/%(title)s.%(ext)s"
|
OUTPUT_TMPL = "/media/RomeTube/%(uploader)s%(channel)s/%(title)s.%(ext)s"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resources = {
|
||||||
|
cpu = 50
|
||||||
|
memory = 150
|
||||||
|
}
|
||||||
|
|
||||||
host_volumes = [
|
host_volumes = [
|
||||||
{
|
{
|
||||||
name = "ytdl-web"
|
name = "ytdl-web"
|
||||||
|
Loading…
Reference in New Issue
Block a user