laravel-kit icon indicating copy to clipboard operation
laravel-kit copied to clipboard

Configuration With Docker Environment

Open mrgodhani opened this issue 5 years ago • 10 comments

Love this tool.

Question, Is there future support of settings or something to integrate with Docker environment and execute artisan commands inside docker?

mrgodhani avatar Mar 10 '21 17:03 mrgodhani

Yes, I will add Docker support in the future.

tmdh avatar Mar 10 '21 17:03 tmdh

BUMP

YobertyAlej avatar Jun 25 '21 16:06 YobertyAlej

This, I believe, will make it easy to do stuff with Laravel Sail apps. Sweet!

damms005 avatar Apr 07 '22 07:04 damms005

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 .

tmdh avatar Apr 15 '22 20:04 tmdh

Hi is it still true that this tool (what is amazing by the way) can't be used with Laravel Sail?

philharmonie avatar Mar 03 '23 10:03 philharmonie

Hi is it still true that this tool (what is amazing by the way) can't be used with Laravel Sail?

Sadly, yes

damms005 avatar Mar 03 '23 16:03 damms005

If you set DB_HOST=127.0.01 in .env and port mapping 3306:3306 in docker-compose.yml for mysql service you can

philharmonie avatar Mar 03 '23 18:03 philharmonie

If you set DB_HOST=127.0.01 in .env and port mapping 3306:3306 in docker-compose.yml for mysql service 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

damms005 avatar Mar 05 '23 18:03 damms005

I am requesting any suggestion on how the user experience could be to connect to a Docker container.

tmdh avatar Mar 09 '23 11:03 tmdh

@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

vntrungld avatar Jul 25 '23 03:07 vntrungld

https://luiscoutinh.medium.com/how-to-set-php-path-to-docker-container-115f363e4b3d

maxcxam avatar Oct 30 '23 19:10 maxcxam