File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ $ git clone https://github.com/parse-community/parse-server
99
99
$ cd parse-server
100
100
$ docker build --tag parse-server .
101
101
$ docker run --name my-mongo -d mongo
102
- $ docker run --name my-parse-server -p 1337:1337 --link my-mongo:mongo -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test
102
+ $ docker run --name my-parse-server -v cloud-code-vol:/parse-server/cloud -v config-vol:/parse-server/config - p 1337:1337 --link my-mongo:mongo -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test
103
103
```
104
104
105
105
You can use any arbitrary string as your application id and master key. These will be used by your clients to authenticate with the Parse Server.
@@ -443,7 +443,7 @@ $ git clone https://github.com/parse-community/parse-server
443
443
$ cd parse-server
444
444
$ docker build --tag parse-server .
445
445
$ docker run --name my-mongo -d mongo
446
- $ docker run --name my-parse-server --link my-mongo:mongo -p 1337:1337 -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test --publicServerURL http://localhost:1337/parse --mountGraphQL --mountPlayground
446
+ $ docker run --name my-parse-server --link my-mongo:mongo -v cloud-code-vol:/parse-server/cloud -v config-vol:/parse-server/config - p 1337:1337 -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test --publicServerURL http://localhost:1337/parse --mountGraphQL --mountPlayground
447
447
```
448
448
449
449
After starting the server, you can visit http://localhost:1337/playground in your browser to start playing with your GraphQL API.
You can’t perform that action at this time.
0 commit comments