---
title: "Deploy MeTube"
description: "Web UI for downloading videos from YouTube and more."
category: "Other"
url: https://railway.com/deploy/metube-2
---

# Deploy MeTube

Web UI for downloading videos from YouTube and more.

**[Deploy MeTube on Railway](https://railway.com/template/metube-2)**

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### MeTube

- **Image:** ghcr.io/alexta69/metube:2026.07.27@sha256:b6e945b63df6357bc16c7bfcb1b4479856b2087f6d8a5e59f0d3f4996a707e12
- **Health check:** /
- **Public domain:** Yes

## Documentation

# Deploy and Host MeTube on Railway

MeTube is an open-source, self-hosted web interface for downloading video and audio from YouTube and dozens of other sites supported by yt-dlp. It provides browser-based download management, format selection, playlists, subscriptions, and metadata options while keeping downloaded files in storage controlled by the deployer.

## About Hosting MeTube

Hosting MeTube requires one public container and one persistent volume. This template runs the digest-pinned MeTube `2026.07.27` image, exposes its HTTP listener on port `8081` through a Railway HTTPS service domain, and mounts `/downloads` for downloaded media and MeTube state. Railway checks `/` for readiness. The template sets `DELETE_FILE_ON_TRASHCAN=true` as requested and keeps the service at one replica because downloads are local to the mounted volume. MeTube does not provide authentication by design, so protect the public domain with an authenticating reverse proxy or another trusted access boundary. Use the service only for content you are authorized to download.

## Common Use Cases

- Downloading authorized videos or audio from supported sites through a browser queue
- Keeping a personal media archive on persistent Railway storage
- Managing playlists, subscriptions, formats, and download metadata from one web interface

## Dependencies for MeTube Hosting

- `ghcr.io/alexta69/metube:2026.07.27@sha256:b6e945b63df6357bc16c7bfcb1b4479856b2087f6d8a5e59f0d3f4996a707e12`
- One Railway persistent volume mounted at `/downloads`
- One Railway-generated HTTPS service domain targeting port `8081`

### Deployment Dependencies

- [MeTube source repository](https://github.com/alexta69/metube)
- [MeTube 2026.07.27 release](https://github.com/alexta69/metube/releases/tag/2026.07.27)
- [MeTube Docker documentation](https://github.com/alexta69/metube#running-with-docker)
- [Umbrel MeTube package](https://github.com/getumbrel/umbrel-apps/tree/master/metube)

## Implementation Details

| Service | Image | Networking and health | Persistent storage |
| --- | --- | --- | --- |
| `MeTube` | `ghcr.io/alexta69/metube:2026.07.27@sha256:b6e945b63df6357bc16c7bfcb1b4479856b2087f6d8a5e59f0d3f4996a707e12` | Public target port `8081`; Railway HTTPS service domain; readiness path `/` | `/downloads` for downloaded media and MeTube state |

The Railway deployment explicitly sets `PORT=8081` so the container listener matches the public service target. `DELETE_FILE_ON_TRASHCAN=true` is the only application behavior variable requested by the source contract. The image entrypoint creates and owns the download and state directories for its unprivileged runtime user. Keep the volume size and access boundary appropriate for the media being stored; Railway volumes are persistence, not an independent backup.

MeTube ships without authentication. Do not leave an unrestricted public downloader reachable from the internet; use Railway networking together with an authenticating proxy, VPN, or equivalent access control. Respect site terms, copyright law, robots policies, and any other applicable rules when downloading or storing content.

## Why Deploy MeTube on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying MeTube on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/metube-2
