Self-hosted app·Audio, podcasts and books
Castopod hosting on a Swiss VPS.
Castopod hosting on a Swiss VPS in ALP1: sizing, Docker deployment, S3 media storage, cost from 6.99 USD/mo and what Swiss law means for listener data.
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/05
What Castopod is.
Castopod is a free, open-source podcast hosting platform, licensed under the AGPL v3 and developed by Ad Aures, a French company, with part of the work funded through NLnet's NGI0 programmes. It is a PHP application built on CodeIgniter 4 with a MySQL-compatible database behind it. One instance can host as many podcasts and users as you like, produces the RSS feeds that Apple Podcasts, Spotify and the Podcast Index read, and computes listener statistics on your own server following the IAB v2 measurement guidelines, with no third-party analytics script involved.
The reason to run it rather than a static feed generator is federation. Every podcast on an instance is an ActivityPub actor: someone on Mastodon can follow the show, reply to an episode or boost it, and the replies appear on the episode page (running your own instance is covered in our fediverse guide). Castopod also implements a long list of Podcasting 2.0 tags (transcripts, chapters, persons, soundbites, funding, locked feeds) and can import an existing show from its RSS feed, which is how most podcasters leave a commercial host. The stable series is 1.x. Release 1.15, in February 2026, rebuilt the official Docker image on FrankenPHP and Caddy, while v2, which introduces plugins, has been published on a separate pre-release channel. The developers answer on the fediverse as @Castopod@podlibre.social; r/podcasting is better for directory questions than for Castopod itself.
02/05
Requirements and sizing.
The documented requirements are short: PHP 8.1 or newer with the intl, curl, mbstring, gd (JPEG, PNG and WebP) and exif extensions; MySQL 5.7+ or MariaDB 10.2+; HTTPS; and an NTP-synchronised clock, which Castopod uses to validate incoming federation requests. Redis is optional and worth adding as the cache. FFmpeg 4.1.8 or newer is needed only for video clips. On a manual install, a cron entry running spark tasks:run every minute is mandatory in practice, because without it RSS imports, fediverse broadcasts, WebSub pings and video clip rendering stop working.
| Resource | What Castopod needs | Notes |
|---|---|---|
| CPU | 1–2 vCPU | Pages and feeds are cheap to serve; FFmpeg video clips are the only heavy job |
| RAM | 512 MB for PHP, plus MariaDB and Redis | The official image sets PHP_MEMORY_LIMIT=512M; Cloudron's package declares 512 MB as its minimum |
| System disk | OS, containers, database | The database stays small; media is what grows |
| Media | Grows with every episode | 1 TB bucket add-on, configured as S3 in Castopod |
| Network | 80 and 443/TCP in, 443/UDP optional for HTTP/3, outbound SMTP | Port 25 is open on every VPS |
| Cloud VPS Starter allocation | 2 vCPU, 2 GB RAM, 80 GB NVMe | Debian 13 preinstalled through the deploy link |
Storage is where intuition fails. A 45-minute episode encoded at 128 kbit/s weighs 43.2 MB (theoretical: 128,000 bit/s × 2,700 s ÷ 8). A weekly show therefore adds about 2.25 GB a year, and a terabyte will hold it for longer than any of us will be podcasting. If you run a single audio-only show, the VPS disk is enough and you can skip the add-on. It earns its place when you host several shows, keep video clips, or want the archive outside the virtual machine so a rebuild never involves moving media.
Traffic follows the same arithmetic. At 2,000 downloads per episode and four episodes a month, you serve 8,000 × 43.2 MB, roughly 346 GB of egress (theoretical). Release day concentrates the load, since podcast apps fetch new episodes automatically, yet 2,000 downloads within 24 hours still averages about 8 Mbit/s (theoretical: 86.4 GB over 86,400 s). Peaks run higher, but a show of this size needs no special network planning. At ten times that audience, or if you render video clips every day, move to a larger cloud VPS plan or put a CDN in front of the media with CP_MEDIA_BASEURL.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/05
How to deploy it with us.
We recommend Docker. The official castopod/castopod image bundles FrankenPHP and Caddy, so the PHP version Debian ships stops being your problem and an upgrade becomes a tag change.
- 01Order Cloud VPS Starter with Debian 13 through the Castopod deploy link. Ordering is no-KYC: an email address is enough, and crypto is accepted.
- 02Choose the final hostname now, for example
podcast.example.com, and point its A and AAAA records at the server. The base URL is written into every ActivityPub actor ID, and fediverse followers do not survive a domain change. - 03Install Docker Engine and the Compose plugin from Docker's Debian repository, and Caddy (
apt install caddy) as the TLS reverse proxy. Runtimedatectland confirm the clock reports as synchronised. - 04Create a bucket and access keys on the 1 TB bucket add-on, which you manage like our object storage.
- 05Write
compose.yml, adapted from the official example:
services:
castopod:
image: castopod/castopod:1.15.4 # pin a tested 1.x tag; check Docker Hub for the current one
container_name: castopod
environment:
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: <db-password>
CP_BASEURL: "https://podcast.example.com"
CP_ANALYTICS_SALT: <long-random-string>
CP_CACHE_HANDLER: redis
CP_REDIS_HOST: redis
CP_REDIS_PASSWORD: <redis-password>
CP_MEDIA_FILE_MANAGER: s3
CP_MEDIA_S3_ENDPOINT: <endpoint-from-your-storage-credentials>
CP_MEDIA_S3_KEY: <access-key>
CP_MEDIA_S3_SECRET: <secret-key>
CP_MEDIA_S3_REGION: <region>
CP_MEDIA_S3_BUCKET: castopod
CP_MEDIA_S3_PATH_STYLE_ENDPOINT: "true" # if the endpoint does not support bucket subdomains
CP_ENABLE_2FA: "true"
ports:
- "127.0.0.1:8080:8080"
depends_on: [mariadb, redis]
restart: unless-stopped
mariadb:
image: mariadb:12.1
container_name: castopod-mariadb
volumes:
- castopod-db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: <root-password>
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: <db-password>
restart: unless-stopped
redis:
image: redis:8.4-alpine
command: --requirepass <redis-password>
restart: unless-stopped
volumes:
castopod-db:- 06Add a two-line
/etc/caddy/Caddyfile(podcast.example.com { reverse_proxy 127.0.0.1:8080 }), reload Caddy, rundocker compose up -d, then openhttps://podcast.example.com/cp-installto create the superadmin account.
Binding the container to 127.0.0.1 means only Caddy on the host can reach it; Caddy obtains and renews the certificate, and TLS is mandatory for ActivityPub to work. Generate the analytics salt once and store it with your backups. Before announcing the show, follow it from a Mastodon account and publish a test post. If the post never arrives, scheduled tasks are not running, and * * * * * docker exec castopod php /app/spark tasks:run in the host crontab is the manual equivalent of the documented cron entry.
Email is needed for password resets and for instructions to premium subscribers. Port 25 is open on our VPS, but mail sent straight from a fresh IP address tends to end up in spam folders, so a relay on port 587 with CP_EMAIL_SMTP_CRYPTO=tls is the dependable choice. If that relay is a US company, check that it is certified under the Swiss-U.S. Data Privacy Framework, which Switzerland has recognised as adequate since 15 September 2024. Uploads are capped at 512 MB (PHP_UPLOAD_MAX_FILE_SIZE); a two-hour episode at 192 kbit/s is 172.8 MB (theoretical), so only video or uncompressed audio hits that limit. For backups, dump MariaDB nightly with docker exec castopod-mariadb mariadb-dump and keep the dump off the server: with media on object storage, that dump and your compose.yml are what you need to rebuild.
If you prefer to avoid containers, Ad Aures published an installation script in January 2026 that installs FrankenPHP, MariaDB, Redis or Valkey and FFmpeg directly on the host and changes system configuration along the way. Read it before running it, as its authors ask.
04/05
Cost.
| Item | Price |
|---|---|
| Cloud VPS Starter, Debian 13, ALP1 | 6.99 USD/month |
| 1 TB bucket add-on | $7.96 a month |
| Castopod licence | Free (AGPL v3) |
There is no charge per download, per upload hour or per show, which is how most commercial podcast hosts price. Payment in crypto is accepted, including from business customers, and top-ups earn a bonus, with the unused balance refundable within 14 days. Current figures are on the pricing page. The cost missing from the table is your time: on a VPS you are the administrator, and that means reading release notes before upgrading (1.15 broke existing Docker compose files) and testing your restores.
05/05
Limits, Swiss law and your obligations.
Castopod's analytics process listeners' IP addresses to count downloads and locate audiences, which makes your statistics personal data under the revised Federal Act on Data Protection (FADP), in force since 1 September 2023. You are the controller of that data; we host the machine it runs on. On 15 January 2024 the European Commission confirmed that Switzerland continues to provide an adequate level of protection, so serving EU listeners from ALP1 requires no additional transfer safeguards. Publish a privacy notice with Castopod's Pages feature and keep the analytics salt private.
As of 31 October 2026, the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, and none with Switzerland. That removes one shortcut and nothing more; we do not present it as immunity from foreign jurisdiction. On the Swiss side, the revision of the surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 is not in force, and the Federal Council has announced a second consultation. Our wider position on jurisdiction is on the offshore hosting page.
Copyright is where podcasters actually get into trouble. Swiss law allows downloading a work for private use, but making it available online without permission is not allowed, and a public feed is making available. Unlicensed commercial music beds are the usual problem. The less obvious one is Castopod's own RSS import, which will mirror any public feed: import only shows you own or hold the rights to. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful, following the Swico Code of Conduct Hosting 2025. Your side of the arrangement is to answer forwarded complaints, keep Castopod and its images patched, enable two-factor authentication for admin accounts, and keep backups somewhere other than the server itself.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I move an existing podcast to Castopod without losing subscribers?
Yes, provided your current host cooperates. Import the show into Castopod from its RSS feed, then have the old host return a 301 redirect on the feed URL and publish an <itunes:new-feed-url> tag pointing to the Castopod feed. Podcast apps and directories follow both. Keep the old account active until the main directories display the new feed URL.
Do I need the 1 TB storage add-on for Castopod?
Not for a single audio show: at 43.2 MB per 45-minute episode (theoretical), the VPS disk holds years of weekly episodes. Take it for several shows, video clips, or media that should survive a server rebuild untouched.
Is Castopod available in French?
Yes. The admin interface and the documentation are available in French, the project being developed by a French company, and each podcast declares its own language in the feed. For French-speaking podcasters in Switzerland who want their listener data under Swiss law, ALP1 fits.
What happens if someone sends a DMCA notice about an episode?
It has no direct legal effect in Switzerland. We forward complete complaints to you, you remove the content or justify it, and we act ourselves only on a decision of a competent Swiss authority or where content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Since April 2020, Swiss copyright law (CopA art. 39d) requires a host to prevent a work from being made unlawfully available again only when it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. The FAQ and our page on DMCA notices cover the process.
Can I order without identifying myself?
Ordering is no-KYC: an email address is enough, and crypto is accepted. That covers billing, not publishing: your feed, your episode pages and your fediverse profile are public by design, so anything you publish there identifies you as much as you let it.
Sources
Every fact on this page, with its source
Accessed 2 Nov 2026 unless noted.
Swiss law and authorities
- Federal Act on Data Protection, in force since 1 September 2023fedlex RS 235.1
- Federal Office of Justice, recognition of the Swiss-U.S. Data Privacy Framework since 15 September 2024OFJ
- Federal Council, status of the VÜPF/OSCPT revision as of 31 October 2026admin.ch
- Copyright Act, art. 39d, in force since 1 April 2020 (RO 2020 1003; verified 31 October 2026)fedlex LDA · verified 31 Oct 2026
- Swiss Federal Institute of Intellectual Property, private download vs making available onlineIPI
EU and other countries
- European Commission, adequacy review of 15 January 2024 (decision 2000/518/EC remains in force)Adequacy decisions
- US Department of Justice, CLOUD Act executive agreements (verified 31 October 2026)DOJ CLOUD Act resources · verified 31 Oct 2026
Other references
- Castopod documentation, "How to install Castopod?" (requirements, cron task, S3 media storage)docs.castopod.org
- Castopod documentation, "Official Docker image" (FrankenPHP/Caddy image, compose example, environment variables and upload limits)docs.castopod.org
- Castopod documentation, introduction (features, AGPL v3 licence, Ad Aures)docs.castopod.org
- Castopod v1.15.0 release, 16 February 2026 (Docker image rebuilt on FrankenPHP and Caddy)code.castopod.org
- Castopod blog, "Introducing the Castopod Installation Script", 31 January 2026blog.castopod.org
- NLnet, Castopod v2 project (NGI0 Commons Fund)nlnet.nl
- Cloudron App Store, Castopod package (512 MB minimum memory)cloudron.io
- Swico Code of Conduct Hosting, 2025 revision published 13 March 2025, in force April 2025IT Reseller report
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
