Improvements for Docker in Development #1004
Labels
developer experience
The one building with UF
Docker
needs discussion
A decision needs to be taken by the dev team
Milestone
The current development Docker configuration "works" within a certain sense of the word, but is much more painful to get running with than should be necessary. Often at times demanding an understanding of the UserFrosting build processes and general setup, plus experience with Docker itself.
The root of the issue here is that the current Docker configuration requires UF tooling to work within the limitations of a service oriented system. To address this a toolkit image will be required that includes all the necessary tools (but not necessarily NGINX and the MySQL server), such that UF tooling functions and the individual services can still be scaled (this is important as it permits debugging of issues related to scaling which a production Docker configuration would ideally support). Ultimately, a user should be able to run
php bakery bake
(and any otherbakery
command).Some other enhancements worth considering are adding a mailcatcher service, which would address a major pain point in getting all of UserFrosting running locally. Initial investigations show this to be relatively trivial to implement.
The text was updated successfully, but these errors were encountered: