---
title: Deploy Castopod with AI on Blossom
url: "/deploy/castopod/"
canonical_url: https://blossom88.com/deploy/castopod/
markdown_url: https://blossom88.com/deploy/castopod.md
summary: Publish your first podcast episode and give listeners an RSS feed they can
  follow.
categories:
- deployment
- media
stack:
- PHP
- CodeIgniter
- FrankenPHP
- MySQL
---

# Deploy Castopod with AI on Blossom

[Castopod](https://castopod.org/) is an open-source podcast host. It gives
you a website for your show, a browser-based publishing dashboard, and
an RSS feed listeners can add to a podcast player.

## Ask Your Agent

> **Ask your AI agent:** Deploy Castopod on Blossom. Help me publish a trailer and check its RSS feed.
>
> Follow this guide: https://blossom88.com/deploy/castopod/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## How It Runs

| Part | Role | Where |
|---|---|---|
| Castopod | Manage your show, serve audio and artwork, and generate the RSS feed | Blossom Persistent Service |
| MySQL | Store users, shows, and episodes | Blossom Managed Data |

## Deploy Castopod

Have a short MP3 or M4A file and square JPG or PNG cover art between
1400 and 3000 pixels per side. Deploy Castopod with MySQL and a media
Volume. Use Blossom Account access while you create the first admin at
`/cp-install`.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the official Castopod image on port 8080 and mount the Volume at
`/app/public/media`. The wrapper sets `CP_BASEURL` from Blossom’s
generated HTTPS address and maps the linked MySQL URL to `CP_DATABASE_*`.
Use a stable secret for `CP_ANALYTICS_SALT`. Let Blossom terminate TLS.

The [tested startup wrapper](/deploy/recipes/castopod/launcher-start.sh)
configures the private database connection and keeps the generated
configuration out of the tested image’s bootstrap logs. Review startup
logging when upgrading the image. Wait for the database migrations
before opening `/cp-install`.
[Castopod Docker configuration](https://docs.castopod.org/main/en/getting-started/docker/).

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data castopod-plan.yml
    blossom service:create --data castopod-service.yml
    blossom env_var:push --environment environment-100 --file .env.castopod
    blossom environment:deploy --id environment-100 --follow

</details>

## Publish a Trailer

Create your show, upload the trailer, and publish both. Open the episode
and follow its **RSS Podcast feed** link. The feed should include an audio
enclosure for the trailer.

![Check the published trailer in the episode dashboard.](/deploy/assets/images/castopod/castopod-episode.webp)

> **Ask your AI agent:** Help me publish this trailer and check that its RSS feed points to the audio.

> Follow this guide: https://blossom88.com/deploy/castopod/



## Open the Episode After an Update

Keep the same MySQL instance and media Volume when updating Castopod.
Reopen the episode and check the feed still points to the original audio.
Remove Blossom Account access when you’re ready for podcast players to
fetch your feed and audio without signing in.

![Open the original episode and RSS link after replacement.](/deploy/assets/images/castopod/castopod-listener.webp)


> **Ask your AI agent:** Update Castopod and make sure my trailer is still in the feed and plays.

> Follow this guide: https://blossom88.com/deploy/castopod/



## What You Get

- Your own podcast and listener page
- An RSS feed with a playable audio enclosure
- Episode records and media that survive Container replacement

Tested on Blossom: A published trailer kept its RSS episode ID and exact MP3 bytes after the Castopod Container was replaced.
