---
title: "Deploy Bitmagnet"
description: "Open-source torrent indexer with search, metadata, and classification."
category: "Other"
url: https://railway.com/deploy/bitmagnet
---

# Deploy Bitmagnet

Open-source torrent indexer with search, metadata, and classification.

**[Deploy Bitmagnet on Railway](https://railway.com/template/bitmagnet)**

- **Creator:** Şükrü
- **Category:** Other
- **Total deploys:** 10

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### bitmagnet

- **Image:** ghcr.io/bitmagnet-io/bitmagnet:latest
- **Start command:** `bitmagnet worker run --keys=http_server --keys=queue_server --keys=dht_crawler`
- **Public domain:** Yes

## Documentation

# Deploy and Host Bitmagnet on Railway

## What is Bitmagnet?
Bitmagnet is an open-source torrent indexer and search engine. It crawls the BitTorrent DHT network, stores torrent metadata in a database, and enriches it with external sources like TMDB or IMDb. Its purpose is to make torrent content searchable, categorized, and accessible through a web UI or API.

## About Hosting Bitmagnet
Hosting Bitmagnet involves running the Bitmagnet container alongside a PostgreSQL database. The application needs to be configured with connection details and, optionally, an API key for metadata enrichment. On Railway, this process is streamlined: PostgreSQL can be provisioned as a managed service, and the Bitmagnet Docker image can be deployed with minimal setup. Railway handles container lifecycle, scaling, and networking, making it easier to deploy Bitmagnet without dealing with low-level infrastruct...

## Common Use Cases

- Running a personal or community torrent search engine
- Researching and analyzing torrent ecosystem data
- Building APIs or apps powered by torrent metadata

## Dependencies for Bitmagnet Hosting

- PostgreSQL 16+ (database for torrent metadata)
- Optional: TMDB API key (for improved media classification)

### Deployment Dependencies

- [Bitmagnet GitHub Repository](https://github.com/bitmagnet-io/bitmagnet)
- [Docker Hub Image](https://ghcr.io/bitmagnet-io/bitmagnet)

### Networking Notes

Railway automatically provisions a domain for your deployment.  
By default, Bitmagnet listens on port **3333**.  
After deployment, go to the **Networking** tab in your Railway project and select port `3333` to expose the WebUI and API.

## Why Deploy Bitmagnet 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 Bitmagnet 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) — 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/bitmagnet
