You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,9 @@ After starting the dashboard, you can visit http://localhost:4040 in your browse
44
44

45
45
46
46
## Configuring Parse Dashboard
47
+
48
+
### File
49
+
47
50
You can also start the dashboard from the command line with a config file. To do this, create a new file called `parse-dashboard-config.json` inside your local Parse Dashboard directory hierarchy. The file should match the following format:
48
51
49
52
```json
@@ -61,6 +64,34 @@ You can also start the dashboard from the command line with a config file. To d
61
64
62
65
You can then start the dashboard using `parse-dashboard --config parse-dashboard-config.json`.
63
66
67
+
### Environment variables
68
+
69
+
There are also two methods you can use to configure the dashboard using environment variables.
70
+
71
+
#### Multiple apps
72
+
73
+
Provide the entire JSON configuration in `PARSE_DASHBOARD_CONFIG` and it will be parsed just like the config file.
74
+
75
+
#### Single app
76
+
77
+
You can also define each configuration option individually.
78
+
79
+
```
80
+
HOST: "0.0.0.0"
81
+
PORT: "4040"
82
+
MOUNT_PATH: "/"
83
+
PARSE_DASHBOARD_ALLOW_INSECURE_HTTP: undefined // Or "1" to allow http
PARSE_DASHBOARD_CONFIG: undefined // Only for reference, it must not exist
93
+
```
94
+
64
95
## Managing Multiple Apps
65
96
66
97
Managing multiple apps from the same dashboard is also possible. Simply add additional entries into the `parse-dashboard-config.json` file's `"apps"` array.
0 commit comments