Commit 6fe0415
authored
Add Railway deployment config (#7)
## 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 main1 parent 6b39708 commit 6fe0415
2 files changed
+28
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
| 13 | + | |
8 | 14 | | |
9 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
| 20 | + | |
11 | 21 | | |
12 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
13 | 29 | | |
| 30 | + | |
14 | 31 | | |
15 | 32 | | |
16 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments