خیلی عالی بود به ساده ترین شکل ممکن بیان کردید الان حدود ۳ ماه هست هر ویدیدیی میدیدم از داکر متوجه نمیشدم چون هیچ پیشزمینه ای نداشتم ازش ولی آموزش شما خیلی کمک کرد بهم و الان درک بهتری دارم از داکر ❤❤
I could be missing something, but is there a gap in the video? It seems to jump from the phpMyAdmin section to building the application, missing out the app docker-compose service and making the Dockerfile?
nice video. was able to learn something new. i have 2 more things. 1. how do i take docker+laravel to another server? 2. how do i upgrade docker+laravel both?
Your video was so inspiring! You have a great talent for motivating others. Keep sharing y💪 our 😃 positivity 💪 with 😃 the 💪 world 😃 through 💪 your 😃 RUclips 💪 channel 😃! Keep 💪 it 😃 up 💪😃
Informative one. I have been learning docker but i am getting confused as different folks do it differently. Here i am confused that why you didn't use Dockerfile. Can you create another video for clearing my confusion? Using laravel, Nginx, MySQL. And how to work with docker some other developer? If possible please do one more. Thank You.
superb tutorial, just one concern, it takes little more time while refreshing page to see changes. is it normal behavior in docker ? and where you have mentioned OS like ubuntu ? How can run docker by putting code inside ubuntu wsl from windows ? pls guide.
I have a problem with app: I copied the code for app: from github. But i get an error build path /php either does not exist, is not accessible, or is not a valid URL.
may i have run on docker desktop , if i dont want to open vscode then use command "docker-compose -d". On my Docker desktop didnt show a container, so i cant click run on that. i have to open vscode and run it.
Hi, I want to do something like DevOps and I don't have the vendor folder in the project. In the image, I need to run "composer install," but it seems like the nginx container will also need this command. Is that right? Cheers!
Hi, You need to run this command inside the application container, for example if you're container name is app go inside this container: docker compose exec app bash Then run composer install. Nginx is just a web server it doesn't need this command. This is just for installing packages. Check this link out:getcomposer.org/doc/00-intro.md
Thank you, but can you please tell us how can we dockerize apps thath are cloned from git , we need to do composer install, i was unabel to do thath true docker for my laravel 5.8 app thath is using composer v1?
Hello, you did not create a docker file, I am getting an error about this. I will use mysql, when I followed your steps, the container was not created, can you help me?
I am getting error "validating D:\wamp64\www\docker\docker-compose.yml: services.app must be a mapping". I am following the video and app: is empty.. do i need to add image and container_name in it ?
Parse error: syntax error, unexpected identifier "string", expecting variable in /var/www/vendor/sebastian/version/src/Version.php on line 25 I don't know this.
Hi Hanie, thanks for your course. After getting a build error when working through the tutorial steps, I pulled your repository... per instructions switched from postgres to mysql and attempted to run. Build went fine, but on trying localhost:8080 , Warning: require(/var/www/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/public/index.php on line 34 Fatal error: Uncaught Error: Failed opening required '/var/www/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/public/index.php:34 Stack trace: #0 {main} thrown in /var/www/public/index.php on line 34 any idea?
make: *** No rule to make target '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.y', needed by '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.c'. Stop. i make php8.2
Thanks! I was searching for this for a long time, It's dificult to see a pratical video installing Laravel without Sail
I managed to install composer and other dependencies using Dockerfile RUN command. Everything went fine!
Thank you!
Thanks for watching.
How did you do that? Thanks
Great video!
Videos like this are rare. Errors are important for us to know what to do to correct errors.
Thanks!
It's great to hear from you.
@@hanieasemi Congratulations on your channel.
Keep up with this excellent work!
Thanks!
Thanks, simple & clean!
You saved me, after all the time i wasted watching other videos. 🙏🙏
Thanks
خیلی عالی بود به ساده ترین شکل ممکن بیان کردید الان حدود ۳ ماه هست هر ویدیدیی میدیدم از داکر متوجه نمیشدم چون هیچ پیشزمینه ای نداشتم ازش ولی آموزش شما خیلی کمک کرد بهم و الان درک بهتری دارم از داکر ❤❤
ممنون که ویدیو رو نگاه کردید و خوشحالم که تونسته کمکتون کنه 🤟
Its a mind blowing tutorial.
Thanks you , you just save my life .
مرسی خیلی خوب بود مشکل من حل شد
Oh shit! I forgot to write the APP part but I have posted the video😮
I could be missing something, but is there a gap in the video? It seems to jump from the phpMyAdmin section to building the application, missing out the app docker-compose service and making the Dockerfile?
yes, I also realize that, app service have no configuration
Yes there's a gap in the video, that's why i gave here a dislike
Thank you, this is very helpful.
Glad it helped!
That was so helpful, thank you ✌
Thanks for watching🙏🏻
amazing video 👏
Great video
nice video. was able to learn something new. i have 2 more things. 1. how do i take docker+laravel to another server? 2. how do i upgrade docker+laravel both?
For running another project you need to create another docker-compose file in its directory and update the container name and ports of each service.
Your video was so inspiring! You have a great talent for motivating others. Keep sharing y💪 our 😃 positivity 💪 with 😃 the 💪 world 😃 through 💪 your 😃 RUclips 💪 channel 😃! Keep 💪 it 😃 up 💪😃
Great video!
🥰
Informative one. I have been learning docker but i am getting confused as different folks do it differently. Here i am confused that why you didn't use Dockerfile.
Can you create another video for clearing my confusion?
Using laravel, Nginx, MySQL.
And how to work with docker some other developer? If possible please do one more.
Thank You.
superb tutorial, just one concern, it takes little more time while refreshing page to see changes.
is it normal behavior in docker ?
and where you have mentioned OS like ubuntu ?
How can run docker by putting code inside ubuntu wsl from windows ?
pls guide.
did you have installed php & composer natively alongside docker ? it's look laravel has running well before binding to docker volume
Sorry I didn't get your question. Could you please explain it more?
I have a problem with app:
I copied the code for app: from github. But i get an error
build path /php either does not exist, is not accessible, or is not a valid URL.
Could you please share your problem via email?
may i have run on docker desktop , if i dont want to open vscode then use command "docker-compose -d". On my Docker desktop didnt show a container, so i cant click run on that. i have to open vscode and run it.
So much great 👏
Thanks for watching
as i know theres sail built in with laravel do all job is it the same thing ?
Hi, I want to do something like DevOps and I don't have the vendor folder in the project. In the image, I need to run "composer install," but it seems like the nginx container will also need this command. Is that right? Cheers!
Hi, You need to run this command inside the application container, for example if you're container name is app go inside this container: docker compose exec app bash
Then run composer install.
Nginx is just a web server it doesn't need this command. This is just for installing packages. Check this link out:getcomposer.org/doc/00-intro.md
@@hanieasemi thanks you, other thing, I have index.php in root folder, not in public, and nginx set path to public
good one
Thank you, but can you please tell us how can we dockerize apps thath are cloned from git , we need to do composer install, i was unabel to do thath true docker for my laravel 5.8 app thath is using composer v1?
It doesn't matter where did you get the project. You can create a docker-compose file and a Dockerfile which you can define php version in this file.
very useful 😊
well explained 😉
Could you create video about install supervisor to docker?
Thanks for watching, Sure I'll consider it.
Thank u so much!!!!
Good one but after putting docker-compose up -d it shows nginx container exited immediately. Any thoughts on this issue?
Thanks!
Thanks for watching! please check the conf.d file and make sure it sets up correctly.
Great video!
..?
what kind of tutorial do you need?
Hello, you did not create a docker file, I am getting an error about this. I will use mysql, when I followed your steps, the container was not created, can you help me?
Hi, did you check the GitHub repo?
You can find the Dockerfile here: github.com/hanieas/Docker-Laravel
Let me know if you have any problem
salam man ye soual daram vaghty ke proje ra build mikonim vaghty ro proje code hara avaz konim dakhele on proje update nmishe bayad chikar bokonim?
Did you add working_dir: /var/www to the app container?
🥴@@hanieasemi you know I made a mistake in addressing 😞 thank you🤍
Thank You!
this tutorial missing the create Dockerfile in folder php step
This file can be changed based on your needs, so I prefer not to talk about more details and finish the tutorial in a reasonable time
i can not login to phpmyadmin
감사합니다😊
시청 해주셔서 감사합니다 🙂
thank you
does this still work today?
Yeah!
only bad thing in your video is the part where you skipped the dockerfile shit
hello
how to run npm run dev for vite?
Open your container terminal using terminal itself or open it from docker panel interface and run it there
@@keivanpourzang4633 not listening to vite port 300
@@juantevez9267 do you find an answer ?
docker compose command not work in your project
why ngnix?
Why not?
good girl
I am getting error "validating D:\wamp64\www\docker\docker-compose.yml: services.app must be a mapping". I am following the video and app: is empty.. do i need to add image and container_name in it ?
Why did you skip some steps.
What steps would you like to explain? I can make another video.
@@hanieasemi I did not see the php and laravel setup in the video
your video is incomplete!
What can I do to complete the video?
Parse error: syntax error, unexpected identifier "string", expecting variable in /var/www/vendor/sebastian/version/src/Version.php on line 25 I don't know this.
Hi Hanie, thanks for your course. After getting a build error when working through the tutorial steps, I pulled your repository... per instructions switched from postgres to mysql and attempted to run. Build went fine, but on trying localhost:8080 ,
Warning: require(/var/www/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/public/index.php on line 34
Fatal error: Uncaught Error: Failed opening required '/var/www/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/public/index.php:34 Stack trace: #0 {main} thrown in /var/www/public/index.php on line 34
any idea?
Just forked your own git repo, no changes, built, started, and same error on localhost:8080
@@karlkrasnowsky3895 did you install composer?
@@hanieasemi yes, of course.
Nice @hanieasemi
make: *** No rule to make target '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.y', needed by '/usr/src/php/ext/tokenizer/Zend/zend_language_parser.c'. Stop.
i make php8.2