Laravel Docker Course | Complete Laravel Dockerization

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • Complete Laravel Docker implementation. Full course.
    In this course, you will learn everything that you’ll need to know about Docker.
    We will be building a new Laravel Docker template that you can use to run all your Laravel Projects.
    Our implementation will include 6 containers:
    1. PHP
    2. WebSockets
    3. Database
    4. Redis
    5. Queue
    6. Node
    I will also provide you a sample Laravel project that we built in our last tutorial. This is basically a chat application in real-time using and hosting our own web sockets.
    Before we get started, don’t forget to Like and Subscribe to my channel, to stay up to date with my latest videos.
    Github project (Use this for the tutorial): github.com/ema...
    Github project (Final build): github.com/ema...
    Install Docker on Windows
    WSL2: docs.microsoft...
    Docker: docs.docker.co...
    Install Docker on Mac
    Mac: docs.docker.co...
    blog post www.ahtcloud.c...
    wanna help support my channel ? buy me a coffee ☕️ www.buymeacoff...
    Follow us
    Github - github.com/ema...

КОМЕНТАРІ • 142

  • @roksprogar
    @roksprogar Рік тому +22

    This is on a much higher level than some of the paid laravel/docker courses I've seen.

    • @anchalpandey9074
      @anchalpandey9074 2 місяці тому

      i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
      I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
      All the people under this video looks experienced i'm the only fool here
      i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
      so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

  • @davidpv4998
    @davidpv4998 9 місяців тому +13

    I bought a 10 hour online course to try to learn what you showed in less than an hour, and you did it much more clearer and simple, why didnt I find you before? YOU ARE AMAZING!

    • @uzairs.2310
      @uzairs.2310 5 місяців тому

      True

    • @yasserlakhsadi5122
      @yasserlakhsadi5122 4 місяці тому

      me too with the difference that it's a week, it showed exactly to the thousandth my need

    • @anchalpandey9074
      @anchalpandey9074 2 місяці тому

      i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
      I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
      All the people under this video looks experienced i'm the only fool here
      i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
      so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

  • @klausveliu
    @klausveliu Рік тому +19

    I must say, you have done a really great job with this tutorial. Don't know why UA-cam algorithm has not ranked your video better because I landed here by accident after searching for days for a tutorial like this. A very complex setup shown in under 1 hour 👏

    • @anchalpandey9074
      @anchalpandey9074 2 місяці тому

      i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
      I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
      All the people under this video looks experienced i'm the only fool here
      i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
      so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

  • @AndrewKwabula
    @AndrewKwabula Рік тому +3

    In under an hour and for free, this delivers more than many paid courses that are several hours long. It really provided me with a solid foundation using Docker.

  • @princeosah1964
    @princeosah1964 Рік тому

    I will refer anyone who wants to learn Docker here. I have been trying for weeks now, but this tutorial did it in less than 2 hours.

  • @AhmedNabil-zs4md
    @AhmedNabil-zs4md 2 роки тому +7

    You are awesome, This is the most valuable docker resources related to PHP and Laravel that helped me, Thanks man

  • @tech-networking9287
    @tech-networking9287 2 роки тому +7

    Perfect timing, I have been learning docker for a month, with this I think I can break through lot problems, thank you so much!!

    • @anchalpandey9074
      @anchalpandey9074 2 місяці тому

      i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
      I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
      All the people under this video looks experienced i'm the only fool here
      i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
      so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

  • @irfan_susilo
    @irfan_susilo Рік тому +2

    ohhh my god , , this is what i want, super detail, super friendly explanation, not in hurry , well done. Enjoying the explanation and understanding this tutorial is just like enjoying 5 star restaurant menu !

  • @tech-networking9287
    @tech-networking9287 2 роки тому +3

    This channel is underrated, it has some most helpful videos, keep it up, bro.

  • @uzairs.2310
    @uzairs.2310 5 місяців тому

    i am new to docker and now i can use it and deploy my project via docker. May God bless you brother!

    • @anchalpandey9074
      @anchalpandey9074 2 місяці тому

      i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
      I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
      All the people under this video looks experienced i'm the only fool here
      i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
      so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

  • @rwotbusiness3690
    @rwotbusiness3690 4 місяці тому

    This is a very recent in April 2024 best tutorial that works even on laravel 11
    Thank you so much brother.

  • @_RdN
    @_RdN Рік тому

    Thank you for the lessons. My career is starting to move upwards since I began to watch your videos.

  • @PakistanArmyYouth
    @PakistanArmyYouth Рік тому

    43 Min video i listen and implement in 2 days and project is succfully running thanks

  • @OlieTalusan
    @OlieTalusan Рік тому +2

    Great tutorial! I'm using this right now as a reference. Hope you add timestamps so it's easier to navigate the sections. Thanks!

  • @wahbalaamri
    @wahbalaamri 11 місяців тому

    thank you my friend I learn a lot from your tutorial.. I really but my hand in How to Dockerize Laravel Projects..

  • @setarebehzadi5223
    @setarebehzadi5223 Рік тому

    It is the most perfect coursr I have ever seen. Thank you.

  • @FernandoMartinsdk
    @FernandoMartinsdk Рік тому

    Salvou o meu dia !!! Muito obrigado !!! você é o cara !!! Se um dia você vier para o brasil eu te pago uma cerveja

  • @souviknag
    @souviknag Рік тому

    Learnt a lot about Docker from this video. Thanks a lot

  • @markoleen9060
    @markoleen9060 Рік тому +2

    Such a great tutorial for docker beginners like me. This is awesome.

    • @anchalpandey9074
      @anchalpandey9074 2 місяці тому

      i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
      I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
      All the people under this video looks experienced i'm the only fool here
      i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
      so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

  • @ahmedjaber8595
    @ahmedjaber8595 2 роки тому

    Thanks, this is the best yt channel for advanced laravel topics 🔥

  • @introvert.irl99.9
    @introvert.irl99.9 3 місяці тому

    just wanna say god bless you sir 🙏🙏🙏

  • @victorchinonsougwu1359
    @victorchinonsougwu1359 2 роки тому +1

    Very well made, thank you for this. Hopefully you can make a video for people to add the artisan services too.

  • @breakunknown
    @breakunknown Рік тому

    Thanks a lot, changing my skeleton docker now.

  • @CodeWithBehram7497
    @CodeWithBehram7497 Рік тому

    Docker looks like super easy after watching this video thanks so much you got a sub 👍

  • @oksanaozcan201
    @oksanaozcan201 Рік тому

    thank you for this lesson. It's very helpful and clear explanation

  • @msafdaralikhan9498
    @msafdaralikhan9498 9 місяців тому

    extremely helpful and straight to point. thank u

  • @jawadkhan8747
    @jawadkhan8747 Рік тому

    Super excited! great. This tutorial was so helpful.

  • @Haragavi
    @Haragavi Рік тому +3

    Awesome content ❤️
    Please try to add timestamp

  • @josephnduati1214
    @josephnduati1214 5 місяців тому

    This man should be protected!

  • @fabsync
    @fabsync Рік тому

    Love your teaching style! It would be great to see a video on how to install laravel with docker and docker compose in ubuntu with digital ocean.. with nginx..

  • @AliAwwad
    @AliAwwad 4 місяці тому

    Thank you so much Emad.

  • @wannabe_all
    @wannabe_all Рік тому

    Taking to production [ Deployment ] Tutorial would be highly appreciated [Nginx * Php * Laravel * Docker * Mysql and Ubuntu server instance
    ]

  • @Matrix8521
    @Matrix8521 5 місяців тому

    It should be noted that this setup is for development only. On production you'd need an extra webserver container (nginx or apache) to serve your website as relying on "php artisan serve" in production would be a terrible idea.

  • @ochollat
    @ochollat Рік тому

    You just saved me at work👍

  • @SilentSolution
    @SilentSolution Рік тому

    Thanks for your information and cooperation

  • @JerryJonesIndia
    @JerryJonesIndia Рік тому

    Great job man! Worth watching.

    • @anchalpandey9074
      @anchalpandey9074 2 місяці тому

      i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
      I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
      All the people under this video looks experienced i'm the only fool here
      i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
      so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

  • @GerardoAndrade1
    @GerardoAndrade1 Рік тому +1

    Everything seems very clear to me, however when I run docker compose up , with the project you have finished, it sends me the error: docker endpoint for "default" not found

  • @general2000vn
    @general2000vn Рік тому

    very useful tutorial, thank you very much.

  • @MFrancoRiveraCarranza
    @MFrancoRiveraCarranza 6 місяців тому

    It would be great having the nginx configuration as well

  • @gideonpeters___
    @gideonpeters___ 2 роки тому +1

    Very helpful!

  • @sadanandmasurkar6668
    @sadanandmasurkar6668 Рік тому +1

    Really great 👍
    One qs when we change some code there is need to follow docker compose procedure or any other way direct reflect in docker ?

  • @wannabe_all
    @wannabe_all Рік тому +1

    U really nailed it bravo !!

  • @AKBROS
    @AKBROS Рік тому

    Thanks a lot you are awesome,great tutorial

  • @bheemkumarthami
    @bheemkumarthami Рік тому

    superb tutorials, thank you.

  • @samjamzee
    @samjamzee 6 місяців тому

    Thank You , It was more helpful

  • @alidahmani7319
    @alidahmani7319 9 місяців тому

    Thank you, great job.

  • @thecyrilcril
    @thecyrilcril 2 місяці тому

    Thanks for the tutorial, was very informative but I could not get it to work...
    I kept getting "php-1 | exec docker/entrypoint.sh: no such file or directory"

  • @RashadKhanrdk
    @RashadKhanrdk Місяць тому

    For some reason my container does not connect to laragon MySQL. I mean start the server as you do, but it says connection refused?

  • @AssaneKeita
    @AssaneKeita Рік тому +1

    hello nice tutorial
    i have some error\s when i try run doker-compose up -d
    the page app error display :
    RedisException
    PHP 8.1.17
    9.10.1
    Connection refused

  • @ShakibBaig1
    @ShakibBaig1 Рік тому

    Great effort, Only one suggestion if you can explain the docker commands and files in more detail while using them, it will be perfect

  • @willdickens3927
    @willdickens3927 6 місяців тому

    extremely useful :) thank you :)

  • @agungriadi9
    @agungriadi9 7 місяців тому

    terimkasih sangat membantu

  • @two-zero
    @two-zero Рік тому

    Thank you Emad

  • @bortolinipedro
    @bortolinipedro 2 місяці тому

    Thanks!

  • @cessruizaltamirano1244
    @cessruizaltamirano1244 8 місяців тому

    What is the process to dockerize a Laravel Api and Angular Frontend and upload the image to DockerHub? Please help me!😢

  • @saragasmichalis2177
    @saragasmichalis2177 5 місяців тому

    perfect!!!

  • @thedavistheory7674
    @thedavistheory7674 10 місяців тому

    Useful tutorial

  • @amrhesham6383
    @amrhesham6383 3 місяці тому

    thanks a lot!

  • @uzayyolcusu-uzaylbaksyalnz9959

    Good explanation

  • @hemendraajmera6880
    @hemendraajmera6880 Рік тому +2

    using docker on windows getting this error
    2023-02-15T02:11:55.460338Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
    Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker/entrypoint.sh": stat docker/entrypoint.sh: no such file or directory: unknown

  • @kanao8378
    @kanao8378 Рік тому

    thank you senpai, very helpful

  • @bernardchisumo4054
    @bernardchisumo4054 7 місяців тому

    6/11] RUN groupadd --force -g sail

  • @usamaahmad6967
    @usamaahmad6967 2 роки тому

    Thanks alot. It helps alot :)

  • @edunwa3679
    @edunwa3679 Рік тому +1

    RedisException
    PHP 8.1.15
    9.10.1
    Connection refused
    seeing this while opening the app on browser...how do i resolve this? great tutorial though

    • @edunwa3679
      @edunwa3679 Рік тому

      if anyone encounter this same error, just change REDIS_PORT=6379 to
      REDIS_HOST=redis on .env file

  • @rehama962
    @rehama962 Рік тому

    Thank you man

  • @mdhasan9477
    @mdhasan9477 Рік тому

    Respect!

  • @MayurbhanjBoy
    @MayurbhanjBoy 5 місяців тому

    I am getting the error "Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker/entrypoint.sh": stat docker/entrypoint.sh: no such file or directory: unknown"

  • @code4life332
    @code4life332 Рік тому

    Thanks alot bro :)

  • @abdelrazeksayedmohmmed2891
    @abdelrazeksayedmohmmed2891 Рік тому

    excellent

  • @medoune89
    @medoune89 Рік тому

    Hello Sir,
    when i try to do : "docker-composer up --build" it shows me "no configuration file provided: not found" (10:32)

  • @amitleuva8739
    @amitleuva8739 2 роки тому

    can you also make a video which explains, how to deploy this app over aws ecs?

  • @AntonioColaizzi
    @AntonioColaizzi Рік тому +1

    Hi, please move away from this block - I followed the whole video and it's really great, but after 42:29 min (rechecked the code several times) laravel-docker-websocket-1 not running but exited(1) and al docker logs: env file exists. Running the websocket server ...
    ERROR There are no commands defined in the "websockets" namespace. I hope you can give me a hand

  • @user-mn7bj8hc3l
    @user-mn7bj8hc3l 11 місяців тому

    Queue container exits with status 0 always for me

  • @iShah300
    @iShah300 Рік тому

    How can we run multiple laravel projects in different ports at the same time?

  • @victorbuquera7444
    @victorbuquera7444 2 роки тому +1

    If i need this in a interview i will open your github? ...

  • @eustaciobautistaarellanos4176
    @eustaciobautistaarellanos4176 2 роки тому

    The video is very good, it helped me a lot. But I'm using Laravel with Vue, when I try to "RUN npm run dev" in the Dockerfile below the "RUN npm install" line to compile but it doesn't run, the error shows me "The Mix manifest does not exist."
    How could I do it? help me

  • @marinarioagalliu9517
    @marinarioagalliu9517 Рік тому +2

    Did anyone had this error on ubuntu:
    ERROR: for base_event_php_1 Cannot start service php: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker/entrypoint.sh": stat docker/entrypoint.sh: no such file or directory: unknown

    • @md.juyelrana22
      @md.juyelrana22 Рік тому

      Run the command in your terminal "chmod +x docker/entrypoint.sh" the hope will work

    • @marinarioagalliu9517
      @marinarioagalliu9517 Рік тому

      @@md.juyelrana22 same error

    • @md.juyelrana22
      @md.juyelrana22 Рік тому +4

      Add the following two line and rebuild it should work
      RUN ["chmod","+x","Docker/entrypoint.sh"]
      ENTRYPOINT [ "Docker/entrypoint.sh" ]

    • @marinarioagalliu9517
      @marinarioagalliu9517 Рік тому

      @@md.juyelrana22 I'm going with Laravel Sail it seems much easier to me... Thanks

    • @edunwa3679
      @edunwa3679 Рік тому

      @@md.juyelrana22 you saved my sorry ass... thanks great video though

  • @realEsDev
    @realEsDev 2 роки тому +1

    I see this issue when i run docker-compose up
    ⠿ Container laravel_docker-php-1 Starting 2.4s
    Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker/entrypoint.sh": permission denied: unknown

    • @kalulu44
      @kalulu44 2 роки тому

      Did you get a solution for this ?

    • @md.juyelrana22
      @md.juyelrana22 Рік тому +2

      Run the command in your terminal "chmod +x docker/entrypoint.sh" the hope will work

    • @mursalinkabir
      @mursalinkabir Рік тому

      @@md.juyelrana22 Thank you . this resolved my issue

  • @mohamad.elbohsaly
    @mohamad.elbohsaly 2 роки тому

    Why do we need Node container? Ultimately, the laravel project will be linked to ECR and ECS on AWS

    • @emadzaamout
      @emadzaamout  2 роки тому +3

      Short answer: it depends. you dont need it on a seperate container. We still need it to build and compile our frontend assets.
      You can install node and npm in the same php container. If your running some CI/CD pipelines then you can also compile them there instead and not need a seperate container for prod.
      For local, seperate or same container not much of a difference.
      I would argue that having node inside your php container would be better since it's one less container to run (less ram, cpu, memory etc ...)
      On the other hand, if your project has a decoupled architecture (seperate UI and API) and let's say for example your UI uses Vue or React Next.JS (both running on node) and Laravel for the backend, then having seperate containers (servers) will make it easier to scale. Also, if your node server gets hacked, it wouldn't expose your backend (database and api logic). There's lots of good reasons.
      But the point is it really depends on the project.
      The reason why I made a seperate container for each part is just to help teach the material. More ports to expose, cleaner logic etc ...

  • @goldenmoses240
    @goldenmoses240 Рік тому

    is it advisable to run php artisan serve on in a prod environment?

  • @karlkrasnowsky3895
    @karlkrasnowsky3895 Рік тому

    Great tutorial, but after all of this you are deferring to the built in web server? Why not show the install and use of either apache or nginx?

    • @emadzaamout
      @emadzaamout  Рік тому +1

      Hello friend. This is a beginner course to introduce developers to docker.
      If your looking for top performance prod build please check out this tutorial :)
      We use nginx opcache php fpm to serve requests as fast as 5ms.
      ua-cam.com/video/so50k0t7qWo/v-deo.html

  • @anchalpandey9074
    @anchalpandey9074 2 місяці тому

    i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this
    I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements
    All the people under this video looks experienced i'm the only fool here
    i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question
    so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?

    • @elpepelucho
      @elpepelucho Місяць тому

      answer is YES. Laravel requires composer and PHP. And as far as the web server, you can set one up but in this example it's using PHP's (or artisan's) SERVE command. Using the SERVE command is not as ideal as having a webserver running. You can easily add a webserver to the docker-compose file, there are many examples online on how to do this.

  • @alvaroaliaga7892
    @alvaroaliaga7892 Рік тому

    very good. i have a question. could i to use redis just making composer require predis/predis inside laravel? without configure redis server in docker-compose.yml?

    • @emadzaamout
      @emadzaamout  Рік тому +1

      Yes you can. Just make sure to expose the redis ports inside your php container to make sure you can access it externally

  • @juantevez9267
    @juantevez9267 2 роки тому +1

    RedisException
    PHP 8.1.5
    9.10.1
    Connection refused
    help me

    • @auriaksFLC
      @auriaksFLC Рік тому

      Ser REDIS_PASSWORD=null to REDIS_PASSWORD=YourPassword

    • @gonzalesstudio7723
      @gonzalesstudio7723 Рік тому

      @@auriaksFLC hello sir, how do i get a password?

    • @auriaksFLC
      @auriaksFLC Рік тому

      @@gonzalesstudio7723 You make one up :) make sure its secure once you move from development..

  • @bernardchisumo4054
    @bernardchisumo4054 2 роки тому

    I have posted an error message on one of your channel today ,kindly assist how to resolve the problem once your free (DevOps Tutorial - Laravel Deployment Automation CI\CD using AWS RDS EC2 S3 CodeDeploy BitBucket)

  • @nizz4m
    @nizz4m Рік тому

    why not using Sail ?

  • @itsLarryAlright
    @itsLarryAlright Рік тому

    is it compulsory you setup the project before dockerizing it or you can create a container first and then move setup the project using composer?

    • @LogicLab_LRK
      @LogicLab_LRK Рік тому

      Yes, you can create a Docker container first and then push your project into it. In fact, this is a common practice in Docker-based development workflows.
      When you create a container, you are essentially creating a self-contained environment that includes all the dependencies and configurations needed to run your application. Once the container is created, you can push your project into it using a variety of methods, such as copying files into the container or using a tool like Git to clone your project repository inside the container.
      By doing this, you can ensure that your project runs consistently across different environments and avoid issues with dependency conflicts or configuration mismatches.

  • @mhshakil1606
    @mhshakil1606 8 місяців тому

    💝💝

  • @alshojamikbal8510
    @alshojamikbal8510 11 місяців тому

    is it ok to use php artisan server in production ?

  • @kellyxglobalwebsolutions4452
    @kellyxglobalwebsolutions4452 2 місяці тому

    Hey man, nice video. The services are running fine for me, laravel frontend pages are loading fine, but it seems there's an issue with connecting to the database as each time I tried to access a route that connects to a database in MYSQL, I'm always hitting this error message: SQLSTATE[HY000] [2002] No such file or directory
    SELECT * FROM `users` WHERE `email` = Admin OR `name` = Admin OR `phone` = Admin limit 1

  • @justinchukwu362
    @justinchukwu362 Рік тому

    Awesome tutorial but for some reason, Laravel runs really slow on docker. is there a way I can fix that?

    • @emadzaamout
      @emadzaamout  Рік тому

      You need to use WSL2 it will be much faster than running directly on windows. I have a seperate video on that

    • @dikshashukla6899
      @dikshashukla6899 Місяць тому

      @@emadzaamout can you please share that video

  • @gonzalesstudio7723
    @gonzalesstudio7723 Рік тому

    RedisException Connection refused how to solved?

    • @fatman9183
      @fatman9183 Рік тому

      Complete the tutorial. It resolved itself after the WebSocket part was configured

    • @leel3836
      @leel3836 Рік тому

      I got it fixed by copying the finished setup files. I had alot of typos and wrong space placements.

  • @limankastrati327
    @limankastrati327 Рік тому

    Can Laragon prevent Docker of working like it should?

    • @emadzaamout
      @emadzaamout  Рік тому

      Depends on your errors.
      But if you have laragon running, maybe it's using the same ports as we are exposing. If that's the case, close laragon or change the ports in docker.
      Also I highly recommand you use wsl2 if your running docker on windows.
      I have a course on that
      ua-cam.com/video/kaQQVoEBumY/v-deo.html

    • @limankastrati327
      @limankastrati327 Рік тому

      @@emadzaamout thanks it worked

  • @bernardchisumo4054
    @bernardchisumo4054 2 роки тому

    You are awesome AHT

  • @PlatformExpert
    @PlatformExpert Рік тому

    AM USING MONGODB INSTAD OF MYSQL BUT FACING EXTENTION ERROR:
    [php 4/7] RUN docker-php-ext-install mongodb bcmath gd dev zip curl:
    #8 2.691 error: /usr/src/php/ext/mongodb does not exist?

  • @mohamad.elbohsaly
    @mohamad.elbohsaly 2 роки тому

    I have a laravel project built by my colleagues, which I want to dockerize. Aren't Dockerfile & buildspec.dev.yml enough?

  • @makgaboemmanuelmathekga2805

    Good day. I have been having this error for some days now. i am not sure how to resolve it: "failed to solve: process "/bin/sh -c docker-php-ext-install pdo pdo_mysql bcmatch" did not complete successfully: exit code"

    • @mohammedkhalaf2965
      @mohammedkhalaf2965 Рік тому

      RUN docker-php-ext-install pdo pdo_mysql bcmath
      it's bcmath bcmatch

  • @CodeWithAbirOfficial
    @CodeWithAbirOfficial 11 місяців тому

  • @sadiarasha9825
    @sadiarasha9825 Рік тому

    User@DESKTOP-PODAF8P MINGW64 ~/OneDrive/Desktop/LaravelProject (master)
    $ docker-compose ps
    services.database Additional property VOLUMES is not allowed
    -------------------------why this error

    • @_RdN
      @_RdN Рік тому

      This is happening because of the docker-compose file indentation. You should set the correct "tab" levels. I managed to make it right by setting the correct tab space.
      Something like:
      queue:
      build:
      context: .
      target: php
      args:
      - APP_ENV=${APP_ENV}
      environment:
      - APP_ENV=${APP_ENV}
      - CONTAINER_ROLE=queue
      working_dir: /var/www
      volumes:
      - ./://var/www