---
title: "Deploy Castopod"
description: "Deploy and Host Castopod with Railway"
category: "Other"
url: https://railway.com/deploy/castopod
---

# Deploy Castopod

Deploy and Host Castopod with Railway

**[Deploy Castopod on Railway](https://railway.com/template/castopod)**

- **Creator:** Bruno Miguens's Projects
- **Category:** Other
- **Total deploys:** 8

## Template content

### castopod-mariadb

- **Image:** mariadb:11.2

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### castopod

- **Image:** castopod/castopod:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Castopod on Railway

### The free and open-source solution to your podcasting 2.0 journey

Self-host your podcasts with ease, keep control over what you create and talk to your audience without any middleman. Your podcast and your audience belong to you and you only.

🚨 Ensure to set the mandatory `CP_EMAIL_SMTP_PASSWORD` variable or if you don't want SMTP to work, remove all SMTP envs. Otherwise it won't init.

## About Hosting Castopod

### ‼️ Railway Blocks SMTP Ports on Non-Pro Plans
You won't be able to use Gmail SMTP straight away. You can use services like [Resend](https://resend.com/emails) which has a free tier and uses alternative unblocked ports.

**✅ This template is ready for Resend, you just need to generate an API Key**

You can also use any other email provider as long as it does not use the blocked standard SMTP ports or you are in a Pro plan. Simply change the env vars that contain Resend values with your provider's values.

## Common Use Cases

- Talk to your audience, directly
- Promote your podcast
- Your podcast, everywhere
- Built-in analytics
- Publish your podcast for free or monetize it.

## Dependencies for Castopod Hosting

- Main App Container
- MariaDB
- Redis (you can also use the slower file system)

### Deployment Dependencies

Always check the official documentation as there are other flags you may like use, like 2FA (uses emails) or S3 buckets rather than using volumes.

https://docs.castopod.org/main/en/getting-started/docker/ 

### Implementation Details 

#### Create the first admin user:
- Wait for the deployemnt to finish
- Go to "https://castopod.example.com/cp-install"
- Create an admin user

#### Want to enable emails (optional)?
- Verify you domain on Resend
- Generate API Key
- Populate on the template

#### Invite members:
- Ensure emails are setup and working

## Why Deploy Castopod 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 Castopod 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/castopod
