Using Docker to set up dev environment for Laravel + Nginx + Mysql (2023)

preview_player
Показать описание
In this video, i will show you how to use Docker Compose to setup development for Laravel + Nginx + PHP-FPM.
I provide a GitHub repository contain all code and docker file i have show you:
Subscribe for the next video: How to debug php code
follow me:
Рекомендации по теме
Комментарии
Автор

Cảm ơn anh rất nhiều ạ, a hướng dẫn rất dễ hiểu

tunguyen
Автор

Thanks man. I didnt used your estructure, but help alote! got a follower

FuncaoCurioso
Автор

Hi. Is there any way to add vue to this? How would i do that?

barddz
Автор

Nice man and good job but can you do for production and try and explain more in detail. Thanks

ayenikehinde
Автор

I have a problem with permissions. After connecting to docker using the 'docker exec -it {id} bash' command, a permission error occurs for every command I type.


I cant make any edits to the file created after this command.

romanovic-rass
Автор

Em chạy đúng hết nhưng mà lỗi cuối nó báo trên localhost là The exception occurred while attempting to log: The stream or file could not be opened in append mode: Failed to open stream: Permission denied, em bị vấn đề gì vậy ạ! Em cảm ơn

MinhTriLuong-nf
Автор

Maybe Laravel API + Next.js in Docker?

fuukowatty
Автор

thansk bro, but i got this error: PS D:\systems\docker-laravel> docker exec -it 774516bfba76 /bin/sh
/home/source/main # ls
README.md artisan composer.json config package.json public routes storage webpack.mix.js
app bootstrap composer.lock database phpunit.xml resources server.php tests
/home/source/main # composer install
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (through
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 106 installs, 0 updates, 0 removals
- Downloading doctrine/inflector (2.0.6) what coudl be the isue?

verdecimarketing
join shbcf.ru