summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYannik Zimmermann <[email protected]>2021-05-06 14:27:50 +0200
committerGitHub <[email protected]>2021-05-06 08:27:50 -0400
commit225036469d5081cb120439d4dfc33df46dd9788e (patch)
treecbe69bcf99b1430172a9381cb40b47e6b4398732
parent5ded7872e40183e22390eed29f5fc69f55f4a125 (diff)
downloadcaprover-one-click-apps-225036469d5081cb120439d4dfc33df46dd9788e.tar.gz
caprover-one-click-apps-225036469d5081cb120439d4dfc33df46dd9788e.zip
Adds rstudio server (#424)
* feat(rstudio-server): adds yml for rstudio server one-click * fix(rstudio-server): fixed version not to use latest because it could break the one-click-app * fix: add volume to rstudio to keep persistent data and updated isOfficial value * fix: updated description to be under 200 characters
-rw-r--r--public/v4/apps/rstudio.yml43
-rw-r--r--public/v4/logos/rstudio.pngbin0 -> 38598 bytes
2 files changed, 43 insertions, 0 deletions
diff --git a/public/v4/apps/rstudio.yml b/public/v4/apps/rstudio.yml
new file mode 100644
index 0000000..3b3af62
--- /dev/null
+++ b/public/v4/apps/rstudio.yml
@@ -0,0 +1,43 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ image: rocker/rstudio:$$cap_rstudio_version
+ volumes:
+ - $$cap_appname-code:/home/rstudio
+ restart: always
+ environment:
+ PASSWORD: $$cap_rstudio_password
+ USER: $$cap_rstudio_username
+ caproverExtra:
+ containerHttpPort: '8787'
+caproverOneClickApp:
+ variables:
+ - id: $$cap_rstudio_version
+ label: RStudio Version Tag
+ description: Check out their Docker page for the valid tags https://hub.docker.com/r/rocker/rstudio/tags
+ defaultValue: '4.0.4'
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_rstudio_username
+ label: 'Username'
+ description: 'Your username to log into RStudio'
+ defaultValue: 'rstudio'
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_rstudio_password
+ label: 'Password'
+ description: 'Your super secret Password for RStudio'
+ validRegex: /^([^\s^\/])+$/
+ instructions:
+ start: >-
+ RStudio Server enables you to provide a browser based interface to a version of R running on a remote Linux server, bringing the power and productivity of the RStudio IDE to server-based deployments of R.
+
+ For more details, see: https://hub.docker.com/r/rocker/rstudio
+
+ Enter your RStudio Configuration parameters and click on next. It will take about a minute for the process to finish.
+ end: >-
+ Aaaand you're done! 🔥
+ Your RStudio Server instance is available at http://$$cap_appname.$$cap_root_domain
+ Use $$cap_rstudio_username and your super secret passwort to login to your RStudio Server instance
+ displayName: RStudio
+ isOfficial: false
+ description: RStudio Server enables you to provide a browser based interface to a version of R running on a Linux server, bringing the power & productivity of the RStudio IDE to server-based deployments of R.
+ documentation: 'Taken from https://hub.docker.com/r/rocker/rstudio'
diff --git a/public/v4/logos/rstudio.png b/public/v4/logos/rstudio.png
new file mode 100644
index 0000000..d57c248
--- /dev/null
+++ b/public/v4/logos/rstudio.png
Binary files differ