-
Notifications
You must be signed in to change notification settings - Fork 1
/
jupyter_notebook_config.py
31 lines (26 loc) · 1.3 KB
/
jupyter_notebook_config.py
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
## The IP address the notebook server will listen on.
c.NotebookApp.ip = '0.0.0.0'
## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = '../jupyter'
## Whether to open in a browser after starting. The specific browser used is
# platform dependent and determined by the python standard library `webbrowser`
# module, unless it is overridden using the --browser (NotebookApp.browser)
# configuration option.
c.NotebookApp.open_browser = False
## Hashed password to use for web authentication.
#
# To generate, type in a python/IPython shell:
#
# from notebook.auth import passwd; passwd()
#
# The string should be of the form type:salt:hashed-password.
# password is 'jupyter'
c.NotebookApp.password = 'sha1:04b9806cee40:936a1015b10872dfa5e028a91a235abbc4672c1c'
## The port the notebook server will listen on.
c.NotebookApp.port = 8888
## Shut down the server after N seconds with no kernels or terminals running and
# no activity. This can be used together with culling idle kernels
# (MappingKernelManager.cull_idle_timeout) to shutdown the notebook server when
# it's not in use. This is not precisely timed: it may shut down up to a minute
# later. 0 (the default) disables this automatic shutdown.
c.NotebookApp.shutdown_no_activity_timeout = 604800