56 likes
·
7.3K reads
3 comments
Great mini-guide, Tom! Running lamp stacks in docker has so many benefits, one of which is that since Linux is one of the core features of the stack, with docker you can lock down an exact version of Linux that’s portable and will work the same on different machines.
The portability that comes with docker is great, specially when it comes to cloud deployments. Once this step is complete, you could instantly launch the service on multiple nodes, or if it’s architected in a specific way, on a serverless technology that requires basically no time spent controlling infra.
Kudos!
So I take this as a lamp stack that actually is available on the net. Hosted locally. So that web page that short if put on a domain name can be pulled up from any internet connected device.
I am just starting in LAMP...(I guess you can tell) so it seems local environment in this example uses apache configured for web server service. It seems you need one LAMP like that and a separate for Development/Test/Staging Environments
How do you configure it for the Development/Test/Staging Environments?
Or can you do that and I get that one as well?
Great Article Tom! thanks a lot! On my RHEL 9, I have installed docker and configured Nginx listening on port 8080, how do i configure the dockerfile to have my HTML file front-end and then configure php to have backend code with mysql as database and then build a docker image so that the container is listening on port 8080? Note i do not have php, mysql installed on RHEL 9. Looking for a best way forward to achieve this. Appreciate your reply. Thanks.