> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-host Tdarr with Docker

> Automated media transcoding, health checks, and library-wide format standardization.

Automated media transcoding, health checks, and library-wide format standardization.

This page describes the Levelrail template for Tdarr (Media). It deploys the services below as one Docker Compose app on your own server. Project site: [https://docs.tdarr.io](https://docs.tdarr.io).

Recommended memory: about 1024 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `tdarr` | `ghcr.io/haveagitgat/tdarr:2.86.01` | 8265 | `tdarr_server -&#62; /app/server`<br />`tdarr_configs -&#62; /app/configs`<br />`tdarr_logs -&#62; /app/logs`<br />`tdarr_media -&#62; /media`<br />`tdarr_transcode_cache -&#62; /temp` |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `tdarr` | `PGID` | Preset in the template |
| `tdarr` | `PUID` | Preset in the template |
| `tdarr` | `TZ` | Preset in the template |
| `tdarr` | `ffmpegVersion` | Preset in the template |
| `tdarr` | `inContainer` | Preset in the template |
| `tdarr` | `internalNode` | Preset in the template |
| `tdarr` | `serverIP` | Preset in the template |
| `tdarr` | `serverPort` | Preset in the template |
| `tdarr` | `webUIPort` | Preset in the template |

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

## Deploy Tdarr with Levelrail

In the dashboard, open **Apps**, choose **New app**, then **Browse templates**, and select Tdarr. Review the Compose body and deploy.

With the CLI:

```bash theme={"dark"}
levelrail-cli templates deploy tdarr --name my-tdarr
```

See the [service template catalog](/templates-and-registry) for how templates work, and [Getting started](/getting-started) if you have not installed Levelrail yet.

## More Media templates

* [Audiobookshelf](/self-host/audiobookshelf)
* [Bazarr](/self-host/bazarr)
* [Calibre-Web](/self-host/calibre-web)
* [Castopod](/self-host/castopod)
* [Emby](/self-host/emby)

All templates are listed in the [self-host gallery](/self-host).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.