Bug 9617

Summary: Create Toaster Docker production container
Product: [Build System, Metadata & Runtime] Toaster Reporter: brian avery <brian.avery>
Component: toasterAssignee: David Reyna <david.reyna>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: belen.barros.pena, david.reyna, jessica.zhang, jose.perez.carranza, randy.e.witt, randy.macleod, stanciux.mihail, tim.orling
Version: 2.2   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 9555, 13929    
Bug Blocks:    

Description brian avery 2016-05-11 05:01:45 UTC
Extend the toaster container to support production rollout.
Comment 1 brian avery 2017-06-08 22:11:24 UTC
Gifting due to time availability realities.
Comment 2 Tim Orling 2020-06-03 17:28:52 UTC
Production should follow the pattern of layerindex-web [1]. Use docker-compose to spin up a toaster-container with gunicorn/wsgi, spin up a nginx container, spin up a database container. Also, as done by the dockersetup.py script [1] in layerindex-web, the settings.py and other applicable files should be modified in place for production quality and hardening.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/tree/docker-compose.yml
[2] http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/tree/dockersetup.py