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:
code
2026-12-04 01:54:16 +00:00
co-authored by Claude Opus 5.5
parent da178b48fc
commit f2aa7e8da9
4 changed files with 87 additions and 71 deletions
+80
View File
@@ -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
+30
View File
@@ -0,0 +1,30 @@
services:
tdarr:
image: ${TDARR_IMAGE:-ghcr.io/haveagitgat/tdarr:latest}
restart: ${TDARR_RESTART:-unless-stopped}
volumes:
- ${VOL_PATH:-/data}/tdarr/server:/app/server
- ${VOL_PATH:-/data}/tdarr/configs:/app/configs
- ${VOL_PATH:-/data}/tdarr/logs:/app/logs
- ${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=8266
- webUIPort=8265
- internalNode=true
- inContainer=true
- nodeName=${TDARR_NODE_NAME:-InternalNode}
ports:
- "${TDARR_PORT:-8265}:8265"
- "${TDARR_SERVER_PORT:-8266}:8266"
networks:
- proxy
networks:
proxy:
external: true
+9
View File
@@ -0,0 +1,9 @@
# Tdarr
VOL_PATH=/data
TZ=America/Vancouver
TDARR_IMAGE=ghcr.io/haveagitgat/tdarr:latest
TDARR_RESTART=unless-stopped
TDARR_PORT=8265
TDARR_SERVER_PORT=8266
TDARR_NODE_NAME=InternalNode
TDARR_MEDIA=/data/media