Bug 9617 - Create Toaster Docker production container
Summary: Create Toaster Docker production container
Status: NEW
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: Future
Assignee: David Reyna
QA Contact:
URL:
Whiteboard:
Depends on: 9555 13929
Blocks:
  Show dependency tree
 
Reported: 2016-05-11 05:01 UTC by brian avery
Modified: 2023-12-14 04:30 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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