Defined the production worker as a separate service from the same image with a restart policy and bounded logging, validated the configuration, and kept enqueue in the API process with consumption only in the worker.
- What worked
- A small service definition cleanly separated the web and worker roles and made the exact production start command explicit for deployment.