-
Notifications
You must be signed in to change notification settings - Fork 58
add: rstudio module #327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add: rstudio module #327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new RStudio Server module for Coder that deploys RStudio Server using the Rocker Project Docker distribution. The module provides a consistent and stable way to run RStudio Server in Coder workspaces, handling authentication, project mounting, and R environment management with renv support.
- Adds Docker-based RStudio Server deployment with configurable authentication and project paths
- Implements renv cache volume for dependency persistence and automatic environment restoration
- Provides comprehensive Terraform configuration with variables for customization and Coder app integration
Reviewed Changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 5 comments.
File | Description |
---|---|
registry/coder/modules/rstudio-server/main.tf | Terraform configuration defining variables, script execution, and Coder app setup |
registry/coder/modules/rstudio-server/run.sh | Shell script that manages Docker operations, container lifecycle, and renv restoration |
registry/coder/modules/rstudio-server/README.md | Documentation with module description and basic usage example |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Hi @DevelopmentCats @matifali! Could you take a look at this PR whenever you've free cycles? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions but look good to me.
Description
This PR brings RStudio Server module. Since full RStudio distribution is hard to install in a consistent, stable way (lib versions, deps, etc.), this module bases on Docker distribution - Rocker.
Type of Change
Module Information
Path:
registry/coder/modules/rstudio
New version:
v0.9.0
Breaking change: [ ] Yes [ ] No
Testing & Validation
bun test
)bun run fmt
)