Files

81 lines
2.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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