Docker-izing a PHP and MySQL Web App
HTML-код
- Опубликовано: 23 янв 2021
- In this video I will show how you can use the docker-compose tool to containerize a PHP web app that uses the MySQL database. Both the web app and the database will be containerized in two separate containers - one for PHP with Apache and the other with MySQL.
Source Code: github.com/medhatelmasry/dock...
Companion Article: blog.medhat.ca/2021/01/docker... - Наука
Very well explained, thank you so much!
Easy, straightforward, well explained, thank you for your video ;)
well explained tnx
Very well explained. Thank you 👍.
One question: in your example you are using image php:7.3-apache that already contains php and apache server. On docker hub there is plenty images like that with specified different versions of PHP and not specifying Apache version (or am I missing something). What if I want to replicate production evironment with very specific verions od PHP na Apache (PHP 7.4.28 and Apache 2.4.52 for example)? I see that there are separate official pages just apache and just PHP. How would you use those to integrate them together for very specific development environment? Thank you
thank you :)
Thanks
Great work but I have tried docker- compose up and get error not recognised
There is no space after - in the ‘docker-compose up’ command.
Docker starts at 4:40
thanks for explained , I had an error form this command COPY src /var/www/html/ . I tried to apply it by write it on CMD but I think there is something wrong.