Configuration With Docker Environment
Love this tool.
Question, Is there future support of settings or something to integrate with Docker environment and execute artisan commands inside docker?
Yes, I will add Docker support in the future.
BUMP
This, I believe, will make it easy to do stuff with Laravel Sail apps. Sweet!
I probably will not be able to contribute to this, because I don't have much interest in this feature. If someone can contribute to this, I will gladly review the PR. OR you can support the development at https://ko-fi.com/tareque .
Hi is it still true that this tool (what is amazing by the way) can't be used with Laravel Sail?
Hi is it still true that this tool (what is amazing by the way) can't be used with Laravel Sail?
Sadly, yes
If you set DB_HOST=127.0.01 in .env and port mapping 3306:3306 in docker-compose.yml for mysql service you can
If you set
DB_HOST=127.0.01in.envand port mapping3306:3306indocker-compose.ymlformysqlservice you can
I believe this is assuming that there's a single Laravel app running, as this may not work if you sail up multiple Laravel apps
I am requesting any suggestion on how the user experience could be to connect to a Docker container.
@tmdh Phpstorm has that feature and lets the user set the PHP command for each project separately. So I think maybe the settings for the PHP command should come after users add their project to the app
https://luiscoutinh.medium.com/how-to-set-php-path-to-docker-container-115f363e4b3d