Laravel Docker Course | Complete Laravel Dockerization

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 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

  • @davidpv4998
    @davidpv4998 10 หลายเดือนก่อน +14

    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 3 หลายเดือนก่อน

      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?

  • @roksprogar
    @roksprogar ปีที่แล้ว +23

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

    • @anchalpandey9074
      @anchalpandey9074 3 หลายเดือนก่อน

      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 TH-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 3 หลายเดือนก่อน

      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 3 หลายเดือนก่อน

      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 3 หลายเดือนก่อน

      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 5 หลายเดือนก่อน

    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.

  • @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!

  • @Matrix8521
    @Matrix8521 6 หลายเดือนก่อน

    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.

  • @PakistanArmyYouth
    @PakistanArmyYouth ปีที่แล้ว

    43 Min video i listen and implement in 2 days and project is succfully running 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.

  • @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

  • @introvert.irl99.9
    @introvert.irl99.9 4 หลายเดือนก่อน

    just wanna say god bless you sir 🙏🙏🙏

  • @markoleen9060
    @markoleen9060 2 ปีที่แล้ว +2

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

    • @anchalpandey9074
      @anchalpandey9074 3 หลายเดือนก่อน

      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?

  • @souviknag
    @souviknag ปีที่แล้ว

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

  • @MFrancoRiveraCarranza
    @MFrancoRiveraCarranza 6 หลายเดือนก่อน

    It would be great having the nginx configuration as well

  • @josephnduati1214
    @josephnduati1214 5 หลายเดือนก่อน

    This man should be protected!

  • @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 ?

  • @ahmedjaber8595
    @ahmedjaber8595 2 ปีที่แล้ว

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

  • @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

  • @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.

  • @Haragavi
    @Haragavi ปีที่แล้ว +3

    Awesome content ❤️
    Please try to add timestamp

  • @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?

  • @wannabe_all
    @wannabe_all ปีที่แล้ว

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

  • @FernandoMartinsdk
    @FernandoMartinsdk ปีที่แล้ว

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

  • @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

  • @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 👍

  • @msafdaralikhan9498
    @msafdaralikhan9498 9 หลายเดือนก่อน

    extremely helpful and straight to point. thank u

  • @wannabe_all
    @wannabe_all ปีที่แล้ว +1

    U really nailed it bravo !!

  • @oksanaozcan201
    @oksanaozcan201 ปีที่แล้ว

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

  • @cessruizaltamirano1244
    @cessruizaltamirano1244 9 หลายเดือนก่อน

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

  • @jawadkhan8747
    @jawadkhan8747 ปีที่แล้ว

    Super excited! great. This tutorial was so helpful.

  • @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..

  • @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

  • @AliAwwad
    @AliAwwad 5 หลายเดือนก่อน

    Thank you so much Emad.

  • @ochollat
    @ochollat ปีที่แล้ว

    You just saved me at work👍

  • @gideonpeters___
    @gideonpeters___ 2 ปีที่แล้ว +1

    Very helpful!

  • @medoune89
    @medoune89 ปีที่แล้ว

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

  • @general2000vn
    @general2000vn ปีที่แล้ว

    very useful tutorial, thank you very much.

  • @samjamzee
    @samjamzee 6 หลายเดือนก่อน

    Thank You , It was more helpful

  • @JerryJonesIndia
    @JerryJonesIndia ปีที่แล้ว

    Great job man! Worth watching.

    • @anchalpandey9074
      @anchalpandey9074 3 หลายเดือนก่อน

      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?

  • @agungriadi9
    @agungriadi9 7 หลายเดือนก่อน

    terimkasih sangat membantu

  • @saragasmichalis2177
    @saragasmichalis2177 5 หลายเดือนก่อน

    perfect!!!

  • @bortolinipedro
    @bortolinipedro 2 หลายเดือนก่อน

    Thanks!

  • @marinarioagalliu9517
    @marinarioagalliu9517 2 ปีที่แล้ว +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

  • @SilentSolution
    @SilentSolution ปีที่แล้ว

    Thanks for your information and cooperation

  • @alidahmani7319
    @alidahmani7319 10 หลายเดือนก่อน

    Thank you, great job.

  • @MayurbhanjBoy
    @MayurbhanjBoy 6 หลายเดือนก่อน

    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"

    • @MohamedNajathi
      @MohamedNajathi 4 หลายเดือนก่อน

      Did you fixed this issue ?

  • @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

  • @bheemkumarthami
    @bheemkumarthami ปีที่แล้ว

    superb tutorials, thank you.

  • @willdickens3927
    @willdickens3927 6 หลายเดือนก่อน

    extremely useful :) thank you :)

  • @iShah300
    @iShah300 ปีที่แล้ว

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

  • @amrhesham6383
    @amrhesham6383 3 หลายเดือนก่อน

    thanks a lot!

  • @AKBROS
    @AKBROS ปีที่แล้ว

    Thanks a lot you are awesome,great tutorial

  • @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

  • @two-zero
    @two-zero ปีที่แล้ว

    Thank you Emad

  • @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

  • @thedavistheory7674
    @thedavistheory7674 10 หลายเดือนก่อน

    Useful tutorial

  • @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 ...

  • @anchalpandey9074
    @anchalpandey9074 3 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      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.

  • @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

  • @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.

  • @uzayyolcusu-uzaylbaksyalnz9959
    @uzayyolcusu-uzaylbaksyalnz9959 ปีที่แล้ว

    Good explanation

  • @amitleuva8739
    @amitleuva8739 2 ปีที่แล้ว

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

  • @kanao8378
    @kanao8378 ปีที่แล้ว

    thank you senpai, very helpful

  • @goldenmoses240
    @goldenmoses240 ปีที่แล้ว

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

  • @victorbuquera7444
    @victorbuquera7444 2 ปีที่แล้ว +1

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

  • @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.
      th-cam.com/video/so50k0t7qWo/w-d-xo.html

  • @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

  • @mdhasan9477
    @mdhasan9477 ปีที่แล้ว

    Respect!

  • @usamaahmad6967
    @usamaahmad6967 2 ปีที่แล้ว

    Thanks alot. It helps alot :)

  • @code4life332
    @code4life332 ปีที่แล้ว

    Thanks alot bro :)

  • @rehama962
    @rehama962 ปีที่แล้ว

    Thank you man

  • @abdelrazeksayedmohmmed2891
    @abdelrazeksayedmohmmed2891 ปีที่แล้ว

    excellent

  • @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..

  • @user-mn7bj8hc3l
    @user-mn7bj8hc3l ปีที่แล้ว

    Queue container exits with status 0 always for me

  • @bernardchisumo4054
    @bernardchisumo4054 7 หลายเดือนก่อน

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

  • @nizz4m
    @nizz4m ปีที่แล้ว

    why not using Sail ?

  • @alshojamikbal8510
    @alshojamikbal8510 11 หลายเดือนก่อน

    is it ok to use php artisan server in production ?

  • @mhshakil1606
    @mhshakil1606 8 หลายเดือนก่อน

    💝💝

  • @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.

  • @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)

  • @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
      th-cam.com/video/kaQQVoEBumY/w-d-xo.html

    • @limankastrati327
      @limankastrati327 ปีที่แล้ว

      @@emadzaamout thanks it worked

  • @kellyxglobalwebsolutions4452
    @kellyxglobalwebsolutions4452 3 หลายเดือนก่อน

    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

  • @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?

  • @bernardchisumo4054
    @bernardchisumo4054 2 ปีที่แล้ว

    You are awesome AHT

  • @makgaboemmanuelmathekga2805
    @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