docker-rails icon indicating copy to clipboard operation
docker-rails copied to clipboard

Feature request: Add support for running the project in a development container in VS Code

Open Juice10 opened this issue 3 years ago • 5 comments

vscode has the ability to add a configuration that will allow you to run your rails environment in a development container: https://code.visualstudio.com/docs/remote/create-dev-container It would be great to add support for that.

Juice10 avatar Mar 08 '21 06:03 Juice10

@ledermann I do have a dev config, would you be open for a PR?

zernie avatar Sep 08 '21 19:09 zernie

@zernie I don't use Docker for development because the last time I tried it (a long time ago) there were lots of issues. If it's useful these days, I'd be happy to see a PR.

ledermann avatar Sep 12 '21 08:09 ledermann

@zernie I don't use Docker for development because the last time I tried it (a long time ago) there were lots of issues. If it's useful these days, I'd be happy to see a PR.

btw I use https://github.com/ufoscout/docker-compose-wait for awaiting services. Would you be open to replacing your scripts with this tool as well (in a separate PR)?

zernie avatar Sep 13 '21 19:09 zernie

@zernie Regarding docker-compose-wait: I'm not convinced that including this would perform better than the existing wait-for-services.sh script. It works very well and uses just netcat which already exists in the Alpine image.

ledermann avatar Sep 18 '21 15:09 ledermann

@ledermann docker compose wait also uses netcat:) but it is also much easier to extend for new services and provides some very useful config vars

zernie avatar Sep 18 '21 15:09 zernie