Railway

Deploy celld for Railway

A Railway-optimized template for celld.

Deploy celld for Railway

/var/lib/celld

Bucket

Bucket

Just deployed

Deploy and Host celld on Railway

celld runs Cloudflare Workers and Durable Objects on infrastructure you control. This template configures celld for Railway with a maintained, tested container image, durable object storage, a persistent local cache, private operator networking, health checks, and a starter Worker. No manual environment variables are required.

About Hosting celld for Railway

Hosting celld requires an S3-compatible bucket for deployments and Durable Object data, plus local disk for SQLite working files and caches. This template creates a Railway Bucket, attaches a persistent volume, configures the required credentials, and exposes only the public Worker listener. The operator and peer listener stays on Railway’s private network. On first boot, celld installs a starter page if the Bucket is empty. Deploying your own Worker replaces that starter after the service is restarted. celld is still alpha software, so back up important data and review release notes before upgrading.

Common Use Cases

  • Self-host Cloudflare Workers and Durable Objects
  • Build stateful applications using one SQLite database per object
  • Run chat rooms, counters, coordinators, WebSocket services, and other stateful Workers

Dependencies for celld for Railway Hosting

  • A Railway Bucket for deployments and durable application data
  • A Railway Volume for local SQLite files and caches
  • The celld CLI and esbuild when deploying Worker code

Deployment Dependencies

Implementation Details

The public Worker listener runs on port 8080. The operator and peer listener runs privately on port 8081 and should never be exposed publicly.

From a local Wrangler project, deploy a Worker using the Railway service variables:

railway run --service celld -- celld deploy .
railway restart --service celld --yes

The restart loads the newly committed Worker without rebuilding or changing the container image.

Why Deploy celld for Railway 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 celld for Railway 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

More templates in this category

View Template
Garage S3 Storage
Ultra-light S3 server: fast, open-source, plug-and-play.

PROJETOS
8
View Template
Redis
Self Host Latest Redis with Railway

Arloodots
2
View Template
Postgres Backup to Cloudflare R2 (S3-Compatible)
Automated PostgreSQL backups to S3-compatible storage with encryption

Artour
7