-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
41 lines (40 loc) · 1.25 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3.2"
services:
rstudio-workbench-hpc:
build:
context: .
dockerfile: workbench.docker
args:
- SLURM_VERSION=${SLURM_VERSION:-23.02.7}
- RSW_VERSION=${PWB_VERSION:-2024.04.2}
- OS_VERSION=${OS_VERSION:-ubuntu2204}
image: rstudio-workbench-hpc:bionic-rsw-${PWB_VERSION:-2024.04.2}-slurm-${SLURM_VERSION:-23.02.7}
hostname: rstudio-workbench
privileged: true
volumes:
- type: bind
source: /etc/passwd
target: /etc/passwd
- type: bind
source: /etc/shadow
target: /etc/shadow
- type: bind
source: /etc/group
target: /etc/group
- ./etc/rserver.conf:/etc/rstudio/rserver.conf
- ./etc/launcher.conf:/etc/rstudio/launcher.conf
- ./etc/launcher.slurm.conf:/etc/rstudio/launcher.slurm.conf
- ./etc/launcher.slurm.profiles.conf:/etc/rstudio/launcher.slurm.profiles.conf
- ./etc/jupyter.conf:/etc/rstudio/jupyter.conf
- /opt/slurm/etc:/opt/slurm/etc
- /etc/sssd/sssd.conf:/etc/sssd/sssd.conf
- type: bind
source: /home
target: /home
- type: bind
source: /shared
target: /shared
ports:
- "8787:8787"
environment:
RSP_LICENSE: ${RSP_LICENSE}