forked from jupyter/dashboards_server
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.json
63 lines (59 loc) · 2.51 KB
/
config.json
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
55
56
57
58
59
60
61
62
63
// nconf default options expressed in hjson format
// Order of precendence is:
// 1. Command line arguments
// 2. Environment variables
// 3. Values in the package config.json (shown below)
{
///////////////////////////
// Dashboard Server options
///////////////////////////
// Mode in which the dashboard server express environment runs
NODE_ENV: development
// Base URL pattern for building public link for an uploaded notebook.
// Supports placeholder strings (values come from request host header):
// {protocol} - request protocol (HTTP or HTTPS)
// {host} - value of the host header, (hostname[:port])
// {port} - port extracted from the host header
// Examples using placeholders: {protocol}://{host}
// {protocol}://192.168.99.100:{port}
PUBLIC_LINK_PATTERN: http://127.0.0.1:3000
// Interface on which the dashboard server listens
IP: 127.0.0.1
// Port on which the dashboard server listens
PORT: 3000
// HTTPS_PORT, HTTPS Port on which the dashboard server listens
HTTPS_PORT: 3001
// Optional HTTPS key
HTTPS_KEY_FILE: null
// Optional HTTPS certificate
HTTPS_CERT_FILE: null
// Cookie session secret (default: randomly generate)
SESSION_SECRET_TOKEN: null
// Directory that contains notebooks to serve as dashboards relative to
// the current working directory. Defaults to <package-dir>/data if left
// unset.
NOTEBOOKS_DIR: ""
// Secret for authentication tokens
AUTH_TOKEN: null
// User auth strategy (default: no auth)
AUTH_STRATEGY: null
// Username/password for ./app/auth-local strategy
USERNAME: null
PASSWORD: null
// "Presentation Mode" - Disable all UI Chrome, only render a dashboard
PRESENTATION_MODE: false
/////////////////////////
// Kernel Gateway options
/////////////////////////
// URL of the kernel gateway / jupyter notebook server to contact for kernels
KERNEL_GATEWAY_URL: http://192.168.99.100:8888
// Authorization token required for kernel gateway requests
KG_AUTH_TOKEN: null
// Kernel gateway base URL (gets appended to KERNEL_GATEWAY_URL)
KG_BASE_URL: ""
// Delay kernel cleanup for this many milliseconds to allow a client to reconnect
KG_KERNEL_RETENTIONTIME: 30000
// Forward auth strategy user profile to every kernel launched for every dashboard visited on the server
// e.g., so the kernel can re-use an auth token to access an external service
KG_FORWARD_USER_AUTH: false
}