tmdh / laravel-kit

A desktop Laravel admin panel app
https://tmdh.github.io/laravel-kit/
GNU General Public License v2.0
1.24k stars 136 forks source link

Configuration With Docker Environment #17

Open mrgodhani opened 3 years ago

mrgodhani commented 3 years ago

Love this tool.

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

tmdh commented 3 years ago

Yes, I will add Docker support in the future.

YobertyAlej commented 3 years ago

BUMP

damms005 commented 2 years ago

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

tmdh commented 2 years ago

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 .

philharmonie commented 1 year ago

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

damms005 commented 1 year ago

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

Sadly, yes

philharmonie commented 1 year ago

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

damms005 commented 1 year ago

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

tmdh commented 1 year ago

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

vntrungld commented 11 months ago

@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

maxcxam commented 8 months ago

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