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...
  • НаукаНаука

Комментарии • 11

  • @rpmarketing9864
    @rpmarketing9864 7 месяцев назад

    Very well explained, thank you so much!

  • @thomascaron8812
    @thomascaron8812 3 года назад +2

    Easy, straightforward, well explained, thank you for your video ;)

  • @chigoziekingsley9305
    @chigoziekingsley9305 3 года назад

    well explained tnx

  • @gasperzargi5715
    @gasperzargi5715 2 года назад

    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

  • @medmejri1985
    @medmejri1985 2 года назад

    thank you :)

  • @GergelyCsermely
    @GergelyCsermely 2 года назад

    Thanks

  • @alberthien3720
    @alberthien3720 2 года назад

    Great work but I have tried docker- compose up and get error not recognised

    • @medhatelmasry3818
      @medhatelmasry3818  2 года назад

      There is no space after - in the ‘docker-compose up’ command.

  • @sugunankumaraguru6643
    @sugunankumaraguru6643 2 года назад +1

    Docker starts at 4:40

  • @myassardeveloper55
    @myassardeveloper55 2 года назад

    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.