
Deploy Cap
The self-hosted CAPTCHA for the modern web. Official template for Railway.
Cap
Just deployed
/usr/src/app/data
Valkey
Just deployed
/data
Deploy Cap on Railway
Cap is a lightweight, modern open-source CAPTCHA alternative using proof-of-work and instrumentation challenges. It's fast, private, and extremely simple to integrate.
This is the only official Cap template on Railway.
Deploy and Host Cap
Cap replaces visual captchas with modern, accessible and privacy-preserving challenges. No images, no tracking, no dependencies, works everywhere.
About Hosting
Cap's official Railway template includes everything built-in, including a Valkey database and the v3 dashboard.
Common Use Cases
-
Protect contact forms. Stop spam bots from flooding your contact forms and email inbox
-
Block bot signups. Block automated bot accounts from creating fake user signups.
-
Guard API endpoints: Block malicious scripts from abusing your public APIs while keeping them accessible to legitimate users
Dependencies for Cap Hosting
Cap runs as a Docker container and requires no additional dependencies when deployed on Railway. Valkey support is built-in.
Deployment Dependencies
We recommend consulting Cap's docs at https://trycap.dev
Why Deploy Cap 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 Cap 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.
Template Content
Cap
tiago2/cap:3Valkey
valkey/valkey:9-alpine
