Add new ytdl and bump memory
Should eventually drop one
This commit is contained in:
parent
480fcf144c
commit
3a90b097c8
@ -17,7 +17,7 @@ module "ytdl-web" {
|
|||||||
|
|
||||||
resources = {
|
resources = {
|
||||||
cpu = 50
|
cpu = 50
|
||||||
memory = 150
|
memory = 1000
|
||||||
}
|
}
|
||||||
|
|
||||||
host_volumes = [
|
host_volumes = [
|
||||||
|
31
services/ytptube.tf
Normal file
31
services/ytptube.tf
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
module "ytptube" {
|
||||||
|
source = "./service"
|
||||||
|
|
||||||
|
name = "ytptube"
|
||||||
|
image = "ghcr.io/arabcoders/ytptube"
|
||||||
|
ingress = true
|
||||||
|
service_port = 8081
|
||||||
|
use_wesher = var.use_wesher
|
||||||
|
# service_check = null
|
||||||
|
user = "1001:100"
|
||||||
|
|
||||||
|
env = {
|
||||||
|
QUEUE_DIR = "/data/queue"
|
||||||
|
YTP_DOWNLOAD_PATH = "/media/Downloads"
|
||||||
|
YTP_TEMP_PATH = "/media/Downloads/tmp"
|
||||||
|
YTP_CONFIG_PATH = "/media/Downloads/ytp-config"
|
||||||
|
}
|
||||||
|
|
||||||
|
resources = {
|
||||||
|
cpu = 100
|
||||||
|
memory = 1000
|
||||||
|
}
|
||||||
|
|
||||||
|
host_volumes = [
|
||||||
|
{
|
||||||
|
name = "media-write"
|
||||||
|
dest = "/media"
|
||||||
|
read_only = false
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user