Hi,
I feel pretty nervous posting this here, it's my first real contribution to Open Source. Originally it just started because I wanted an easy (for me) way to run a LEMP stack using Docker (mainly for work) and not using Valet (gasp) but I just kept adding more to it and it also helped me learn more about code and code styles and it was just fun to do! I figured others might find some use for this tool.
https://github.com/cjmellor/saber
I called it Saber because I wanted it to have a name but naming things is hard and I randomly thought of the weapon that the White Ranger used in Mighty Morphin' Power Rangers and that was called Saba... cool story.
Here's the jist of it: Installing Saber will buil a LEMP stack based off the generated docker-compose.yml file that's included and will give you access to a saber program to run other commands. You can install any version of PHP you desire and any version of MySQL or MariaDB. They're all based off images from Docker Hub, so if it's there, you use it.
From there you can build a new virtual host (app) with whatever domain name you desire (currently, only .test TLD is supported) that will allow you to run the app from the configured Docker containers installed by Saber. Hitting the domain in a browser (http://my-domain.test) will show a webpage and you can begin your development. SSL is also supported, where a self-signed certificate is applied to the app.
You can also reverse all these, with the ability to remove an app and uninstall Saber altogether.
I'd love it if others tried it and gave feedback. I want to highley encourage Devs to contribute to the project, I would love to work with others on it and I think it would even be a good start for someone like me who wants to get into contributing to Open Source projects.
Look forward to hearing any comments.