Self-hosted app·Audio, podcasts and books
Castopod on a Swiss VPS.
Castopod VPS in the Swiss Alps: sizing, Docker deploy, S3 media storage and cost. Swiss law, no KYC, paid in crypto.
- 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/06
What Castopod is, and who maintains it.
Castopod is podcast hosting software you install on your own server. It stores your episodes, writes the RSS feed that Apple Podcasts, Spotify and the other directories poll, publishes a web page with a player for each episode, and keeps its own download statistics without a third-party tracker. It is a PHP application built on CodeIgniter 4 and released under the AGPL v3 by Ad Aures, whose own GitLab is the canonical repository (GitHub carries a read-only mirror). Its early development was funded through NLnet's NGI0 Discovery fund.
What separates it from the hosted services most shows start on is that every podcast is also a fediverse account. People on Mastodon and other ActivityPub software can follow the show, new episodes appear in their timelines, and their replies come back as comments under the episode. It also implements most of the Podcasting 2.0 namespace (transcripts, chapters, soundbites, persons, locations, funding links), and a single instance can host any number of shows and contributors, with roles per user, so a small network or a radio collective can share one server. If your show's community already lives on the fediverse, Castopod sits naturally next to the other software it talks to (our fediverse guide).
The current release is 1.15.6, tagged on Docker Hub on 22 October 2026. Version 1.15.0, released on 16 February 2026, retired the separate app and web images in favour of a single image built on FrankenPHP and Caddy, and moved two things that older tutorials still get wrong: media now lives under /app/public/media, and the application listens on port 8080 instead of 8000.
02/06
What it needs, and why Starter is enough.
The documented requirements are modest. Castopod wants PHP 8.1 or later with the intl, curl, mbstring, exif and gd extensions (gd built with JPEG, PNG and WebP support), MySQL 5.7+ or MariaDB 10.2+ with MariaDB recommended, HTTPS, and a clock kept in sync by NTP, because incoming fediverse requests are validated against the server's time. FFmpeg 4.1.8 or later is needed only to render video clips, and Redis is an optional cache. The official Docker image bundles PHP and the web server, so on the host you need Docker and nothing else from that list.
| Resource | What Castopod uses it for | Cloud VPS Starter |
|---|---|---|
| CPU | Feed and page requests are light; rendering video clips with FFmpeg is the only heavy job | 2 vCPU, AMD EPYC |
| Memory | PHP (512M memory limit by default in the image), MariaDB, Redis | 2 GB |
| Local disk | Docker images (castopod/castopod is about 0.6 GB compressed on amd64), database, upload staging | 80 GB NVMe |
| Media | Audio, artwork, transcripts; a one-hour episode at 128 kbps is 57.6 MB (theoretical) | 1 TB S3 bucket, ordered separately |
| Network | 80 and 443 inbound for HTTPS; outbound SMTP for account emails | 1 Gbps, 10 TB transfer a month, 1 IPv4 |
Our reading is that an audio-only instance carrying one show, or a handful, fits Starter. If the instance outgrows Starter, moving up means a larger plan and a migration: the panel has no resize button.
Uploads pass through the VPS even when media goes to S3: Castopod writes the file locally, pushes it to the bucket and then deletes the local copy. Keep free disk at least as large as your biggest upload, and raise PHP_UPLOAD_MAX_FILE_SIZE and PHP_POST_MAX_SIZE (both 512M by default) if you publish video episodes or long uncompressed masters.
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/06
Where the audio lives decides your bandwidth.
The enclosure URL in your feed points at Castopod, not at the file. When a podcast app requests it, Castopod records the hit for its statistics and answers with a redirect to the file's real address, which it builds from the media base URL. With the default file-system storage, that address is on your VPS and every byte of every download leaves through it. With S3 storage, Castopod uploads each file with a public-read ACL and builds the address from CP_MEDIA_BASEURL; point that variable at the bucket, and listeners fetch the audio from object storage while the counting still happens on the VPS.
Keeping media on the VPS is not wrong for a small show. In theory, Starter's 10 TB a month covers about 173,000 complete downloads of a one-hour episode at 128 kbps, and the local disk holds roughly a thousand such hours once the system and the images have taken their share. The bucket earns its $7.96 when the back catalogue outgrows the local disk, when you publish video, or when an episode gets picked up and the traffic spikes. Our object storage bills no traffic in either direction and sits on a 5 Gbps port, and a surge there leaves the VPS's 1 Gbps link free for the admin interface and fediverse delivery. For a talk show that will never fill a terabyte, the 250 GB bucket at $1.99 a month does the same job.
Castopod's documentation also suggests a CDN. You can put one in front of the bucket by changing CP_MEDIA_BASEURL, but the CDN then sees the IP address of every listener, which undoes part of the reason for hosting in Switzerland. Podcast apps often download episodes ahead of time, where a few tens of milliseconds of distance to the Alps make no practical difference; we would add a CDN only for a large audience far from Europe.
04/06
Deploying it on Debian 13.
- 01Order Starter with Debian 13 and a bucket from object storage. The bucket's endpoint and access key arrive by email once it is ready.
- 02Choose the domain now and point an A record at the VPS address. Feed URLs and fediverse handles (
@yourshow@podcast.example.com) are derived from it, and changing it later means feed redirects and followers who have to find you again. - 03Install Docker Engine with the compose plugin (Docker's own Debian repository carries current versions) and Caddy, which Debian packages. Run
timedatectland check that the system clock is reported as synchronised. - 04Put the secrets in a
.envfile next tocompose.yml, restrict it withchmod 600, and generate each value withopenssl rand -hex 32, which also gives the 64 characters Castopod expects for the analytics salt. Keep the salt unchanged once the show is live, since the statistics hash listener data with it. - 05Write
compose.yml. It follows the official example, pinned to a release, with S3 media and the application port bound to localhost:
services:
castopod:
image: castopod/castopod:1.15.6 # pin a release; avoid "latest" and "1" in production
container_name: castopod
volumes:
- castopod-media:/app/public/media
environment:
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: ${DB_PASSWORD}
CP_BASEURL: "https://podcast.example.com"
CP_MEDIA_BASEURL: ${BUCKET_PUBLIC_URL}
CP_ANALYTICS_SALT: ${ANALYTICS_SALT}
CP_CACHE_HANDLER: redis
CP_REDIS_HOST: redis
CP_REDIS_PASSWORD: ${REDIS_PASSWORD}
CP_MEDIA_FILE_MANAGER: s3
CP_MEDIA_S3_ENDPOINT: ${S3_ENDPOINT}
CP_MEDIA_S3_KEY: ${S3_KEY}
CP_MEDIA_S3_SECRET: ${S3_SECRET}
CP_MEDIA_S3_REGION: ${S3_REGION}
CP_MEDIA_S3_BUCKET: castopod
CP_MEDIA_S3_PATH_STYLE_ENDPOINT: "true" # depends on the storage URL format, see above
CP_EMAIL_FROM: podcast@example.com
CP_EMAIL_SMTP_HOST: ${SMTP_HOST}
CP_EMAIL_SMTP_USERNAME: ${SMTP_USER}
CP_EMAIL_SMTP_PASSWORD: ${SMTP_PASSWORD}
CP_EMAIL_SMTP_PORT: 587
networks: [castopod-app, castopod-db]
ports:
- "127.0.0.1:8080:8080" # reachable only by Caddy on the host
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
depends_on:
mariadb:
condition: service_healthy
redis:
condition: service_started
mariadb:
image: mariadb:12.1
container_name: castopod-mariadb
networks: [castopod-db]
volumes:
- castopod-db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: ${DB_PASSWORD}
restart: unless-stopped
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
redis:
image: redis:8.4-alpine
container_name: castopod-redis
command: --requirepass ${REDIS_PASSWORD}
networks: [castopod-app]
volumes:
- castopod-cache:/data
restart: unless-stopped
volumes:
castopod-media:
castopod-db:
castopod-cache:
networks:
castopod-app:
castopod-db:
internal: true- 06Give Caddy a two-line
/etc/caddy/Caddyfileand reload it. Caddy obtains the TLS certificate itself as long as ports 80 and 443 reach the VPS, and TLS is not optional here: ActivityPub federation does not work without it.
podcast.example.com {
reverse_proxy 127.0.0.1:8080
}- 07Run
docker compose up -d, wait for the health check to pass, then openhttps://podcast.example.com/cp-installand create the superadmin account.
The official example publishes ports 8080 and 8443 on every interface. We bind to 127.0.0.1 because ports published by Docker are opened in iptables ahead of host firewall rules such as ufw, so a firewall rule alone will not keep a plain-HTTP port private. The image also ships its own scheduler for Castopod's background tasks (fediverse delivery, WebSub pings, RSS imports, video clips), so there is no host cron line to add, unlike a bare-metal install where you would schedule spark tasks:run yourself.
Port 25 is open on every VPS, so nothing stops Castopod from sending mail directly, but a fresh address with no sending history tends to land in spam folders. For password resets and premium-subscriber messages, a relay on port 587, as in the compose file, is the sensible default.
Upgrades are a tag change followed by docker compose pull && docker compose up -d. Dump the database first and keep the dump off the VPS, ideally encrypted with restic in a second bucket:
docker compose exec -T mariadb sh -c 'mariadb-dump -u root -p"$MYSQL_ROOT_PASSWORD" castopod' > castopod-$(date +%F).sql05/06
What it costs.
| Item | Monthly | Yearly |
|---|---|---|
| Cloud VPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer | $6.99 | $62.99 |
| Object storage, 1 TB (billed monthly) | $7.96 | 12 × $7.96 = $95.52 |
| Total | $14.95 | $158.51 (theoretical, about $13.21 a month) |
The VPS price includes DDoS protection, one IPv4 address (additional ones are $2 a month), full root access, a VNC console in the panel and NVMe storage inside the host rather than on the network; quarterly billing takes 10% off and yearly billing 25%. The bucket includes unlimited traffic in both directions. The full catalogue is on the pricing page.
You pay from a balance topped up in Monero, Bitcoin, Tether, Ethereum or Litecoin and held in US dollars, so the price of your show does not move with the market. Top-ups of $50 or more carry a bonus, and unused balance is refundable within 14 days. The account itself is no-KYC: an email address is enough, and business customers paying in crypto are welcome.
The honest limit of this setup is that it is one machine. The feed, the episode pages and the redirect that every download passes through all live on the VPS; if it is down, new downloads fail until it is back, even though the files themselves sit safely in the bucket. Most podcast apps retry, and for an independent show that is usually an acceptable trade for owning the whole chain.
06/06
What we allow, and what stays your responsibility.
Podcasting raises no particular issue under our acceptable use policy. The obligations that come with publishing remain yours, and Swiss law is fairly precise about them.
Copyright first. In Switzerland, downloading a work for private use is permitted (software excepted), but making it available online without permission is not, and a podcast feed is exactly that. Intro music, a song played in full and a long excerpt read on air all need rights you can show. A DMCA notice has no direct legal effect in Switzerland: we forward complete complaints to you, and you either remove the content or justify it. We act on a decision of a competent Swiss authority, or where the content is manifestly unlawful, as the Swico Code of Conduct Hosting 2025 provides. Since 1 April 2020, the Copyright Act (art. 39d) obliges a host to stop a work from being made unlawfully available again only when the work was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. That narrows the stay-down duty; it does not make infringing material acceptable.
Then your listeners. Castopod's statistics process IP addresses and user agents to deduplicate downloads, identify players and place listeners by country. You decide what the instance collects and how long it keeps it, so the duties of the revised Federal Act on Data Protection, in force since 1 September 2023, towards your listeners fall on you; Castopod's pages feature is the natural place for your privacy notice. If much of your audience is in the EU, the European Commission's review of 15 January 2024 confirmed that Switzerland still ensures an adequate level of protection, so personal data can flow from the EU to Switzerland without additional safeguards. On US access, the Department of Justice listed CLOUD Act executive agreements only with the United Kingdom and Australia as of 31 October 2026, none with Switzerland. That is a statement about treaties, not a promise that no foreign authority can ever reach data; our page on offshore hosting under Swiss law sets out what the jurisdiction does and does not cover.
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 from another host?
Yes. Castopod imports a show from its current RSS feed, episodes and metadata included, as a background task that the Docker image schedules on its own. Once the import is complete, set up a permanent redirect of the old feed at your previous host, or the itunes:new-feed-url tag if it offers one, so that apps follow you to the new address. Check your old host's terms on redirects before you cancel the account there.
Will Apple Podcasts and Spotify list a self-hosted show?
Yes. Directories read an RSS feed and do not care which server produces it, so you submit the feed URL Castopod gives you once, as you would from a hosted service. Castopod's documentation lists Podcast Index, Apple Podcasts, Spotify and Deezer among the places its feeds reach.
Is 2 GB of RAM really enough for Castopod?
Routine video clips, or several producers uploading at once, are the point where Standard (4 vCPU, 4 GB) earns its extra $6 a month.
Who is responsible for my listeners' personal data?
You are. You decide what Castopod's statistics record and for how long, so the duties of the Swiss Federal Act on Data Protection towards your listeners are yours. Publish a privacy notice on the instance and keep the analytics salt secret, since the statistics hashes depend on it.
Do you help with installing and configuring Castopod?
Answers to general account and billing questions are in our FAQ, and anything else goes through a support ticket from the client panel.
Can I sign up and pay without giving my name?
Yes. The account is no-KYC: an email address is enough, with no name, phone number or identity document. The VPS and the bucket renew from one balance topped up in Monero, Bitcoin, Tether, Ethereum or Litecoin.
Sources
Every fact on this page, with its source
Consulted 2 Nov 2026 unless noted.
Swiss law and authorities
- Revised Federal Act on Data Protection (FADP), in force since 1 September 2023fedlex RS 235.1
- Swiss Copyright Act, art. 39d (stay-down conditions, in force since 1 April 2020, RO 2020 1003), verified 31 October 2026fedlex LDA · verified 31 Oct 2026
- Swiss Federal Institute of Intellectual Property, private download permitted, making available online without permission notIPI, Urheberrecht im Internet
EU and other countries
- European Commission, adequacy review of 15 January 2024 confirming Switzerland (decision 2000/518/EC)Adequacy decisions
- US Department of Justice, CLOUD Act executive agreements (United Kingdom and Australia only), verified 31 October 2026CLOUD Act resources · verified 31 Oct 2026
Industry, providers and software
- Castopod source code, S3 file manager (public-read uploads, local copy deleted after upload, URL built from the media base URL)S3.php
- Castopod source code, episode audio controller (hit recorded, then redirect to the media URL)EpisodeAudioController.php
- Switzerland Hosting catalogue, cloud VPS plans and prices, included features, payment methods/cloud-vps/
- Switzerland Hosting catalogue, object storage sizes, prices, traffic terms and 5 Gbps port/object-storage/
- Swico, Code of Conduct Hosting, revised version published March 2025swico.ch/coc
Other references
- Castopod documentation, introduction (features, AGPL v3 licence, Ad Aures)docs.castopod.org
- Castopod documentation, installation requirements (PHP 8.1+, extensions, MariaDB/MySQL versions, NTP, FFmpeg 4.1.8+, Redis, S3 settings, cron tasks, RSS import)Install
- Castopod documentation, official Docker image (FrankenPHP and Caddy, compose example, /app/public/media, port 8080, environment variables and PHP defaults, TLS required for ActivityPub, pinning advice)Docker
- Docker Hub, castopod/castopod tags (1.15.6 pushed 22 October 2026; amd64 image about 606 MB compressed)hub.docker.com
- Castopod release notes, v1.15.0 of 16 February 2026 (single FrankenPHP/Caddy image, media path and port change) and v1.15.5 of 24 February 2026 (scheduler services in the image)code.castopod.org releases
- Castopod README (NLnet NGI0 Discovery funding)code.castopod.org
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.
