Skip to content

Commit 1b510bd

Browse files
committed
Add RStudio Server compose
1 parent 1b0783d commit 1b510bd

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

rstudio-server/server/.env

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
RSTUDIO_USER=dp
2+
RSTUDIO_PASSWORD=your-very-secure-pwd-here
3+
RSTUDIO_USERID=1000
4+
RSTUDIO_GROUPID=1000
5+
TZ=UTC

rstudio-server/server/compose.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
services:
2+
rstudio-server:
3+
image: rocker/tidyverse:4.5
4+
container_name: rserver
5+
ports:
6+
- "127.0.0.1:8787:8787"
7+
restart: unless-stopped
8+
environment:
9+
- USER=${RSTUDIO_USER:-rstudio}
10+
- PASSWORD=${RSTUDIO_PASSWORD}
11+
- DISABLE_AUTH=false
12+
- USERID=${RSTUDIO_USERID:-1000}
13+
- GROUPID=${RSTUDIO_GROUPID:-1000}
14+
- ROOT=TRUE
15+
- LANG=en_US.UTF-8
16+
- TZ=${TZ:-UTC}
17+
volumes:
18+
- /home/${USER}/:/home/rstudio/
19+
20+
volumes:
21+
rstudio-data:
22+
driver: local

0 commit comments

Comments
 (0)