fix(tdarr): fix env's for tdarr (#1153)

* try some fixes for tdarr's

* bump versions

* website does not like nested lists
This commit is contained in:
Stavros Kois
2021-10-17 11:16:35 +02:00
committed by GitHub
parent c225454f08
commit 2e50f91c93
9 changed files with 51 additions and 38 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ sources:
- https://github.com/HaveAGitGat/Tdarr - https://github.com/HaveAGitGat/Tdarr
- https://hub.docker.com/r/haveagitgat/tdarr_node - https://hub.docker.com/r/haveagitgat/tdarr_node
type: application type: application
version: 0.0.1 version: 0.0.2
@@ -87,11 +87,10 @@ questions:
schema: schema:
type: string type: string
required: true required: true
$ref: default: "tdarr-node.ix-tdarr-node.svc.cluster.local"
- "definitions/nodeIP"
- variable: nodePort - variable: nodePort
label: "nodePort" label: "nodePort"
description: "Sets the port of this node" description: "Sets the port of this node."
schema: schema:
type: int type: int
required: true required: true
@@ -625,6 +624,7 @@ questions:
description: "Path inside the container the storage is mounted" description: "Path inside the container the storage is mounted"
schema: schema:
show_if: [["type", "=", "hostPath"]] show_if: [["type", "=", "hostPath"]]
required: true
type: hostpath type: hostpath
- variable: hostPathType - variable: hostPathType
label: "hostPath Type" label: "hostPath Type"
+3 -3
View File
@@ -14,12 +14,12 @@ podSecurityContext:
runAsGroup: 0 runAsGroup: 0
env: env:
serverIP: "0.0.0.0" PUID: 568
serverPort: 8266
nodeID: "myFirstTdarrNode" nodeID: "myFirstTdarrNode"
nodeIP: "0.0.0.0" nodeIP: "0.0.0.0"
nodePort: 8267 nodePort: 8267
PUID: 568 serverIP: "0.0.0.0"
serverPort: 8266
service: service:
main: main:
+1 -1
View File
@@ -22,4 +22,4 @@ sources:
- https://github.com/HaveAGitGat/Tdarr - https://github.com/HaveAGitGat/Tdarr
- https://hub.docker.com/r/haveagitgat/tdarr - https://hub.docker.com/r/haveagitgat/tdarr
type: application type: application
version: 0.0.1 version: 0.0.2
+4 -3
View File
@@ -88,11 +88,11 @@ questions:
schema: schema:
type: string type: string
required: true required: true
$ref: hidden: true
- "definitions/nodeIP" default: "localhost"
- variable: serverPort - variable: serverPort
label: "serverPort" label: "serverPort"
description: "Sets the server port." description: "Sets the server's comm port."
schema: schema:
type: int type: int
required: true required: true
@@ -865,6 +865,7 @@ questions:
description: "Path inside the container the storage is mounted" description: "Path inside the container the storage is mounted"
schema: schema:
show_if: [["type", "=", "hostPath"]] show_if: [["type", "=", "hostPath"]]
required: true
type: hostpath type: hostpath
- variable: hostPathType - variable: hostPathType
label: "hostPath Type" label: "hostPath Type"
+3 -3
View File
@@ -14,10 +14,10 @@ podSecurityContext:
runAsGroup: 0 runAsGroup: 0
env: env:
webUIPort: 8265
serverIP: "0.0.0.0"
serverPort: 8266
PUID: 568 PUID: 568
serverIP: "localhost"
serverPort: 8266
webUIPort: 8265
service: service:
main: main:
@@ -7,18 +7,18 @@ Accepted formats are:
- Multiple FQDN (eg. `cloud.mydomain.com|nextcloud.mydomain.com` or `mydomain.com|cname.mydomain.com`) - Each FQDN is separated with `|` - Multiple FQDN (eg. `cloud.mydomain.com|nextcloud.mydomain.com` or `mydomain.com|cname.mydomain.com`) - Each FQDN is separated with `|`
Each FQDN is split into parts Each FQDN is split into parts
* Hostname (`cname`.domain.com) _Optional_ __Hostname (`cname`.domain.com)__ _Optional_
* Can have from 1 up to 127 levels deep cnames. * Can have from 1 up to 127 levels deep cnames.
* Can contain [0-9], [a-z] and `-`. * Can contain [0-9], [a-z] and `-`.
* Must be at least 1 char and no longer than 63 chars. * Must be at least 1 char and no longer than 63 chars.
* Must start with [a-z], [0-9]. * Must start with [a-z], [0-9].
* Must NOT end with `-`. * Must NOT end with `-`.
* Domain (cname.`domain`.com) __Domain (cname.`domain`.com)__
* Can contain [0-9], [a-z] and `-`. * Can contain [0-9], [a-z] and `-`.
* Must be at least 1 chars and no longer than 63 chars. * Must be at least 1 chars and no longer than 63 chars.
* Must start with [a-z], [0-9]. * Must start with [a-z], [0-9].
* Must NOT end with `-`. * Must NOT end with `-`.
* Top-Level-Domains (cname.domain.`com`) __Top-Level-Domains (cname.domain.`com`)__
* Can contain [0-9], [a-z] and `-`. * Can contain [0-9], [a-z] and `-`.
* Must be at least 2 chars and no longer than 63 chars. * Must be at least 2 chars and no longer than 63 chars.
* Must start with [a-z]. * Must start with [a-z].
+12 -8
View File
@@ -9,16 +9,20 @@ Make sure the Node and Server instances have the same media library and transcod
## Connecting Node with a Server ## Connecting Node with a Server
__If the node is running on the same cluster:__ __If the node is running on the same cluster with the tdarr server:__
Assuming the server is named as `tdarr`. Assuming the node is named `tdarr-node` and server is named as `tdarr`.
* serverIP: tdarr-comm.ix-tdarr.svc.cluster.local * nodeIP: `tdarr-node.ix-tdarr-node.svc.cluster.local`
* serverPort: 8266 (The internal port used by the app) * serverIP: `tdarr-comm.ix-tdarr.svc.cluster.local`
* serverPort: `8266` (The internal port used by the app)
For more info on how to generate the internal dns, visit our website. Check the linking apps internally section on the manual. For more info on how to generate the internal dns, visit our website [here](https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/). Check the linking apps internally section on the manual.
__If the node is running on a different cluster or non-SCALE machine:__ __If the node is running on a different cluster or SCALE machine than the tdarr server:__
* serverIP: YOUR.HOST.SERVER.IP Assuming the node is named `tdarr-node`
* serverPort: 36152 (Default nodePort)
* nodeIP: `tdarr-node.ix-tdarr-node.svc.cluster.local`
* serverIP: YOUR.ACTUALHOST.SERVER.IP
* serverPort: `36152` (Default nodePort)
+8
View File
@@ -0,0 +1,8 @@
## Temp / Transcode cache
Tdarr uses the temp folder (trascode-cache, `/temp`) to store the encoded file (not chunks of it, but the whole file). It's recommended to __avoid__ mounting this folder to RAM.
If you encode a large file which will result in a 10GB file, this is the amount of RAM it will consume.
## Media folder mounts
Make sure the Node and Server instances have the same media library and transcode cache locations. In other words, the cache and library must be shared between the Node and Server.