Having an old PHP Monolith and you don't know how to dockerize it? Are you still using a virtual machine in your local environment?
Probably this article and this repo could help you!
- Add this line to your
/etc/hosts
127.0.0.1 your-great-monolith.com
- Run this command:
docker-compose up --build
- Open your favourite browser and go to
your-great-monolith.com
-
How to dockerize your old PHP monolith - part three: PHP-FPM
-
How to dockerize your old PHP monolith - part four: Redis and Sphinx
and more to come...