mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-12-06 12:28:50 +00:00
tdarr: promote from _dev; fix port mapping, add PUID/PGID/umask, expand docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
# Tdarr
|
||||
|
||||
## Overview
|
||||
|
||||
Distributed media transcoding and library automation (part of the *rr media stack).
|
||||
|
||||
## Project Details
|
||||
|
||||
- **Project Repository:** [GitHub](https://github.com/HaveAGitGat/Tdarr)
|
||||
- **Container Image:** [ghcr.io/haveagitgat/tdarr](https://github.com/HaveAGitGat/Tdarr/pkgs/container/tdarr)
|
||||
- **Documentation:** [Docs](https://docs.tdarr.io/)
|
||||
- **Reverse Proxy Port:** `8265`
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Start the container: `docker compose up -d`
|
||||
2. Open http://localhost:8265 in your browser
|
||||
3. Follow the initial setup wizard to configure the application
|
||||
|
||||
## Environment Variable Notes
|
||||
|
||||
TDARR_IMAGE – container image (default ghcr.io/haveagitgat/tdarr:latest)
|
||||
TDARR_RESTART – restart policy (default unless-stopped)
|
||||
VOL_PATH – host base path; Tdarr data lives in VOL_PATH/tdarr (default /data)
|
||||
TZ – timezone (default America/Vancouver)
|
||||
TDARR_PORT – host port for the web UI (container always listens on 8265)
|
||||
TDARR_SERVER_PORT – host port nodes connect to (container always listens on 8266)
|
||||
TDARR_NODE_NAME – name of the built-in internal node (default InternalNode)
|
||||
TDARR_MEDIA – full host path to your media library (default /data/media)
|
||||
|
||||
PUID/PGID are fixed at 1000 and UMASK_SET at 002, matching the *arr stacks,
|
||||
so transcoded files keep the same owner as the rest of the library.
|
||||
|
||||
## Volume Notes
|
||||
|
||||
/app/server – Tdarr database and server data (VOL_PATH/tdarr/server) – back this up
|
||||
/app/configs – configuration (VOL_PATH/tdarr/configs)
|
||||
/app/logs – logs (VOL_PATH/tdarr/logs)
|
||||
/temp – transcode cache (VOL_PATH/tdarr/cache) – use fast storage with plenty of free space
|
||||
/media – your media library (TDARR_MEDIA)
|
||||
|
||||
Use the same `/media` container path as Sonarr/Radarr so library paths line up.
|
||||
|
||||
## Network Notes
|
||||
|
||||
Requires proxy network
|
||||
|
||||
## Docker Run
|
||||
|
||||
```bash
|
||||
docker run -d \
|
||||
--name=tdarr \
|
||||
-p 8265:8265 -p 8266:8266 \
|
||||
-e PUID=1000 -e PGID=1000 -e UMASK_SET=002 \
|
||||
-e TZ=America/Vancouver \
|
||||
-e serverIP=0.0.0.0 -e serverPort=8266 -e webUIPort=8265 \
|
||||
-e internalNode=true -e inContainer=true \
|
||||
-v /data/tdarr/server:/app/server \
|
||||
-v /data/tdarr/configs:/app/configs \
|
||||
-v /data/tdarr/logs:/app/logs \
|
||||
-v /data/tdarr/cache:/temp \
|
||||
-v /data/media:/media \
|
||||
ghcr.io/haveagitgat/tdarr:latest
|
||||
```
|
||||
|
||||
## Additional Notes / Gotchas
|
||||
|
||||
For hardware transcoding pass through your GPU (e.g. `--gpus all` or `/dev/dri`); not included in this compose file.
|
||||
Extra transcode nodes on other machines join by pointing at this host on `TDARR_SERVER_PORT` (default 8266).
|
||||
|
||||
## Dockhand Stack, Deploy from Git
|
||||
|
||||
Cookbooks Repository
|
||||
stackname: tdarr
|
||||
Compose file path: tdarr/compose.yaml
|
||||
Additional env file (optional): tdarr/sample.env
|
||||
|
||||
Then "Load" tdarr/sample.env into the Environmental variables in dockhand
|
||||
|
||||
Create the Stack
|
||||
@@ -9,16 +9,19 @@ services:
|
||||
- ${VOL_PATH:-/data}/tdarr/cache:/temp
|
||||
- ${TDARR_MEDIA:-/data/media}:/media
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- UMASK_SET=002
|
||||
- TZ=${TZ:-America/Vancouver}
|
||||
- serverIP=0.0.0.0
|
||||
- serverPort=${TDARR_SERVER_PORT:-8266}
|
||||
- webUIPort=${TDARR_PORT:-8265}
|
||||
- serverPort=8266
|
||||
- webUIPort=8265
|
||||
- internalNode=true
|
||||
- inContainer=true
|
||||
- nodeName=${TDARR_NODE_NAME:-InternalNode}
|
||||
ports:
|
||||
- ${TDARR_PORT:-8265}:8265
|
||||
- ${TDARR_SERVER_PORT:-8266}:8266
|
||||
- "${TDARR_PORT:-8265}:8265"
|
||||
- "${TDARR_SERVER_PORT:-8266}:8266"
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Tdarr
|
||||
|
||||
## Overview
|
||||
|
||||
Distributed media transcoding and library automation (part of the *rr media stack).
|
||||
|
||||
## Project Details
|
||||
|
||||
- **Project Repository:** [GitHub](https://github.com/HaveAGitGat/Tdarr)
|
||||
- **Container Image:** [ghcr.io/haveagitgat/tdarr](https://github.com/HaveAGitGat/Tdarr/pkgs/container/tdarr)
|
||||
- **Documentation:** [Docs](https://docs.tdarr.io/)
|
||||
- **Reverse Proxy Port:** `8265`
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Start the container: `docker compose up -d`
|
||||
2. Open http://localhost:8265 in your browser
|
||||
3. Follow the initial setup wizard to configure the application
|
||||
|
||||
## Environment Variable Notes
|
||||
|
||||
TDARR_MEDIA – host path to your media library
|
||||
TDARR_SERVER_PORT – internal server port used by nodes (8266)
|
||||
TDARR_NODE_NAME – name of the built-in internal node
|
||||
|
||||
## Volume Notes
|
||||
|
||||
/app/server – Tdarr server data
|
||||
/app/configs – configuration
|
||||
/app/logs – logs
|
||||
/temp – transcode cache (use fast storage)
|
||||
/media – your media library
|
||||
|
||||
## Network Notes
|
||||
|
||||
Requires proxy network
|
||||
|
||||
## Docker Run
|
||||
|
||||
```bash
|
||||
docker run -d \
|
||||
--name tdarr \
|
||||
-p 8265:8265 -p 8266:8266 \
|
||||
-e TZ=America/Vancouver \
|
||||
-e serverIP=0.0.0.0 -e serverPort=8266 -e webUIPort=8265 \
|
||||
-e internalNode=true -e inContainer=true \
|
||||
-v /data/tdarr/server:/app/server \
|
||||
-v /data/tdarr/configs:/app/configs \
|
||||
-v /data/media:/media \
|
||||
ghcr.io/haveagitgat/tdarr:latest
|
||||
```
|
||||
|
||||
## Additional Notes / Gotchas
|
||||
|
||||
For hardware transcoding pass through your GPU (e.g. `--gpus all` or `/dev/dri`); not included in this compose file.
|
||||
Extra transcode nodes can join by pointing at port 8266.
|
||||
|
||||
## Dockhand Stack, Deploy from Git
|
||||
|
||||
Cookbooks Repository
|
||||
stackname: tdarr_dev
|
||||
Compose file path: tdarr_dev/compose.yaml
|
||||
Additional env file (optional): tdarr_dev/sample.env
|
||||
|
||||
Then "Load" tdarr_dev/sample.env into the Environmental variables in dockhand
|
||||
|
||||
Create the Stack
|
||||
Reference in New Issue
Block a user