18. Deploy
Shopfront has run on one machine, in Development, from dotnet run. In this chapter it runs as it
would deployed: a hub and two workers in containers, one Postgres, and RabbitMQ between them. Four
things change before it can: the shop's schema is migrated rather than created, the processes tell
each other about runs, each says whether it is healthy, and the hub runs in Production, which
turns off everything that was there for Development.
This chapter starts from the end of chapter 17.
In this chapter
- The shape
- Migrate the shop's schema
- The hub
- The worker
- The tests migrate too
- Containers
- Run it as deployed
- The storefront
- The console
- Before it takes real orders
SDK Reference
Deployment topologies | Move a domain data context to EF migrations | UseRabbitMq | AddTraxHealthCheck | Health and liveness | Startup refusals | UseTraxApiDashboard
Next: 18.1 The shape