forked from hasura/jupyter-code-api-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjupyter_notebook_config.py
40 lines (33 loc) · 1.11 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
32
33
34
35
36
37
38
39
40
# Configuration file for jupyter-notebook.
c = get_config() # noqa
## The base URL for the notebook server.
#
# Leading and trailing slashes can be omitted,
# and will automatically be added.
# Default: '/'
c.NotebookApp.base_url = "jupyter"
## Set the Access-Control-Allow-Origin header
#
# Use '*' to allow any origin to access your server.
#
# Takes precedence over allow_origin_pat.
# Default: ''
c.NotebookApp.allow_origin = "*"
## The IP address the notebook server will listen on.
# Default: 'localhost'
c.NotebookApp.ip = "0.0.0.0"
## The port the notebook server will listen on (env: JUPYTER_PORT).
# Default: 8888
c.NotebookApp.port = 7070
## 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.
# Default: ''
c.NotebookApp.password = ""
c.NotebookApp.token = ""
c.NotebookApp.allow_remote_access = True