File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -81,19 +81,24 @@ HTTPS and Basic Auth are mandatory if you are accessing the dashboard remotely i
81
81
## Run with Docker
82
82
83
83
It is easy to use it with Docker. First build the image:
84
-
85
- docker build -t parse-dashboard .
84
+
85
+ ```
86
+ docker build -t parse-dashboard .
87
+ ```
86
88
87
89
Run the image with your `` config.json `` mounted as a volume
88
90
89
- docker run -d -p 8080:4040 -v host/path/to/config.json:/src/Parse-Dashboard/parse-dashboard-config.json parse-dashboard
91
+ ```
92
+ docker run -d -p 8080:4040 -v host/path/to/config.json:/src/Parse-Dashboard/parse-dashboard-config.json parse-dashboard
93
+ ```
90
94
91
95
The container will boot up using the default command `` npm run dashboard ``
92
96
93
97
However, you can run custom command as well (see `` Deploying in production `` for custom setup)
94
98
95
- docker run -d -p 8080:4040 -v host/path/to/config.json:/src/Parse-Dashboard/parse-dashboard-config.json parse-dashboard npm start -- --allowInsecureHTTP=1
96
-
99
+ ```
100
+ docker run -d -p 8080:4040 -v host/path/to/config.json:/src/Parse-Dashboard/parse-dashboard-config.json parse-dashboard npm start -- --allowInsecureHTTP=1
101
+ ```
97
102
If you are not familiar with Docker, `` npm start -- --allowInsecureHTTP=1 `` is the custom command.
98
103
99
104
## Deploying in production
You can’t perform that action at this time.
0 commit comments