Deploy Codra With Railway
Deploy Codra on Railway with a 1-click template, full-stack manual deployment, or standalone PostgreSQL for Cloudflare Workers.
What deployment options are supported on Railway?
Codra supports three deployment options on Railway: a 1-click public template deploying Codra with PostgreSQL and Redis, a manual full-stack deploy using the official Docker image or source build, and a database-only setup provisioning PostgreSQL with Cloudflare Hyperdrive.
How do I deploy Codra using the 1-click Railway template?
Click the Deploy on Railway button to provision PostgreSQL, Redis, and the Codra container with automated database migrations, preconfigured private networking, and health checks.
How do I manually deploy Codra with database on Railway?
Create a Railway project, provision PostgreSQL and Redis services, add the Codra service using devarshishimpi/codra:latest or the GitHub repository, set the pre-deploy migration command to node packages/db/scripts/migrate.mjs, and wire reference environment variables.
How do I connect a Railway PostgreSQL database to Cloudflare Workers?
Retrieve the public TCP proxy connection string from the PostgreSQL Connect tab, configure a Cloudflare Hyperdrive pool with npx wrangler hyperdrive create, and update wrangler.jsonc with the Hyperdrive binding ID.