Skip to content

Comments

Add Railway deployment config#7

Merged
arferreira merged 1 commit intomainfrom
railway-deployment
Feb 19, 2026
Merged

Add Railway deployment config#7
arferreira merged 1 commit intomainfrom
railway-deployment

Conversation

@arferreira
Copy link
Contributor

Summary

  • Multi-stage Dockerfile that builds the dashboard WASM (trunk) before compiling the backend binary (rust-embed bakes dist/ into the binary)
  • Rust version bumped from 1.85 to 1.88 to match CI
  • New railway.toml for Dockerfile-based builds with health checks on /health

Manual steps after merge

  1. Create Railway project, add PostgreSQL addon
  2. Connect zaptech-dev/reeverb repo (main branch)
  3. Set env vars: JWT_SECRET, RUST_LOG=info, PORT=3000
  4. DATABASE_URL auto-injected from Postgres addon

Test plan

  • docker build -t reeverb . builds successfully
  • Container starts, /health returns 200
  • Railway deploys on push to main

@arferreira arferreira merged commit 6fe0415 into main Feb 19, 2026
5 checks passed
@arferreira arferreira deleted the railway-deployment branch February 19, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant