Skip to content

Commit 00e663c

Browse files
committed
Formatted README
1 parent f0fc52c commit 00e663c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,24 @@ HTTPS and Basic Auth are mandatory if you are accessing the dashboard remotely i
8181
## Run with Docker
8282

8383
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+
```
8688

8789
Run the image with your ``config.json`` mounted as a volume
8890

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+
```
9094

9195
The container will boot up using the default command ``npm run dashboard``
9296

9397
However, you can run custom command as well (see ``Deploying in production`` for custom setup)
9498

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+
```
97102
If you are not familiar with Docker, ``npm start -- --allowInsecureHTTP=1`` is the custom command.
98103

99104
## Deploying in production

0 commit comments

Comments
 (0)