Branch from JPetStore, course 2 of 2
Ship the Port: Deploy Rust to a Server You Own
The sequel to the free JPetStore port: containerize the binary into a 7.7 MB scratch image, put it on a VPS behind automatic TLS, replicate the database off-box, and roll back by tag. Nine lessons, $5.
- Level
- intermediate
- Lessons
- 9
- Price
- $5
Stops on this branch
9 lessons, about 5 hours.
- 1Config Crosses the Boundary25 min
- 2The Two-Stage Dockerfile35 min
- 3The Scratch Image35 min
- 4A Registry and a Build Script25 min
- 5Compose and the External Volume40 min
- 6The Server35 min
- 7Caddy and TLS30 min
- 8Litestream and the Restore Drill45 min
- 9Updates, Rollbacks, and the Scorecard30 min
Terminus Ends in a 7.7 MB FROM scratch image on a VPS.