-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sshlab_config.yml
53 lines (41 loc) · 954 Bytes
/
.sshlab_config.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
42
43
44
45
46
47
48
49
50
51
52
## List of configurations
# The first one is the default one if none is passed to the main script
singularity_config:
SSH:
user: username
server: server.com
port: 8888
ip: 127.0.0.1
Environment:
cmd: singularity exec
target: singularity_image.sif
options: --bind /home:/user
Jupyter:
flavor: lab
options: --no-browser --notebook-dir=/workspace
conda:
SSH:
user: username
server: another.server
port: 8889
ip: 127.0.0.1
# note the ; and the end of the target here!
Environment:
cmd: .
target: /home/source.sh;
Jupyter:
flavor: lab
options: --no-browser
docker_config:
SSH:
user: username
server: server.com
port: 8888
ip: 127.0.0.1
Environment:
cmd: docker run
target: docker_image_name
options: -p {port}:{port} -w /workdir --rm -v /workdir:/workdir
Jupyter:
flavor: lab
options: --no-browser --notebook-dir=/workspace