-
Notifications
You must be signed in to change notification settings - Fork 240
Expand file tree
/
Copy pathjupyter-server-config.py
More file actions
54 lines (47 loc) · 1.39 KB
/
jupyter-server-config.py
File metadata and controls
54 lines (47 loc) · 1.39 KB
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
53
54
c = get_config() #noqa
c.ServerApp.ip = '0.0.0.0'
c.ServerApp.open_browser = False
c.ServerApp.allow_root = True
c.ServerApp.password = ''
c.IdentityProvider.token = ''
c.ServerApp.root_dir = '/'
c.ServerApp.terminado_settings = { 'shell_command': ['/bin/bash'] }
c.Application.log_level = 'INFO'
c.Application.logging_config = {
"handlers": {
"file": {
"class": "logging.FileHandler",
"level": "INFO",
"filename": "/accelerated-computing-hub/logs/jupyter-server.log",
"formatter": "console"
}
},
"loggers": {
"ServerApp": {
"level": "INFO",
"handlers": ["console", "file"]
}
}
}
c.ServerProxy.servers = {
"nsys": {
"command": [],
"port": 8080,
"launcher_entry": {
"title": "Nsight Systems",
"category": "Console", # Must be Console or Notebook to render icons.
"icon_path": "/accelerated-computing-hub/brev/icons/nsight_systems.svg",
},
"new_browser_tab": False,
},
"ncu": {
"command": [],
"port": 8081,
"launcher_entry": {
"title": "Nsight Compute",
"category": "Console", # Must be Console or Notebook to render icons.
"icon_path": "/accelerated-computing-hub/brev/icons/nsight_compute.svg",
},
"new_browser_tab": False,
}
}