@@ -6,15 +6,16 @@ disk in this directory.
6
6
In production, these should be set according to your deployment method
7
7
of choice.
8
8
9
- | Key | Required | Default Value | Description |
10
- | --------------------------| ----------| -----------------| -------------------------------------------------------------------------|
11
- | ` PLAYGROUND_UI_ROOT ` | ** Yes** | | The path to the HTML, CSS, and Javascript files |
12
- | ` PLAYGROUND_GITHUB_TOKEN ` | ** Yes** | | The [ GitHub API token] [ gist ] to read and write Gists |
13
- | ` PLAYGROUND_UI_ADDRESS ` | No | 127.0.0.1 | The address to listen on |
14
- | ` PLAYGROUND_UI_PORT ` | No | 5000 | The port to listen on |
15
- | ` PLAYGROUND_LOG_FILE ` | No | access-log.csv | The file to record accesses |
16
- | ` PLAYGROUND_CORS_ENABLED ` | No | | If set, will enable CORS support |
17
- | ` TMPDIR ` | No | system-provided | Where compilation artifacts will be saved. Must be accessible to Docker |
9
+ | Key | Required | Default Value | Description |
10
+ | -------------------------- | ---------- | ----------------- | ------------------------------------------------------------------------- |
11
+ | ` PLAYGROUND_UI_ROOT ` | ** Yes** | | The path to the HTML, CSS, and Javascript files |
12
+ | ` PLAYGROUND_GITHUB_TOKEN ` | ** Yes** | | The [ GitHub API token] [ gist ] to read and write Gists |
13
+ | ` PLAYGROUND_UI_ADDRESS ` | No | 127.0.0.1 | The address to listen on |
14
+ | ` PLAYGROUND_UI_PORT ` | No | 5000 | The port to listen on |
15
+ | ` PLAYGROUND_LOG_FILE ` | No | access-log.csv | The file to record accesses |
16
+ | ` PLAYGROUND_METRICS_TOKEN ` | No | | If set, will require authentication for the metrics endpoint |
17
+ | ` PLAYGROUND_CORS_ENABLED ` | No | | If set, will enable CORS support |
18
+ | ` TMPDIR ` | No | system-provided | Where compilation artifacts will be saved. Must be accessible to Docker |
18
19
19
20
[ dotenv ] : https://crates.io/crates/dotenv
20
21
[ gist ] : https://developer.github.com/v3/gists/#authentication
0 commit comments