Add -d flag to link parse with mgo container (#3677)

Needed to run docker run --name my-parse-server --link my-mongo:mongo -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY to link the containers
This commit is contained in:
George Perez
2017-04-03 15:39:05 -04:00
committed by Arthur Cinader
parent 87085b35b6
commit 48115349d4

View File

@@ -31,7 +31,7 @@ $ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongo
``` ```
$ docker build --tag parse-server . $ docker build --tag parse-server .
$ docker run --name my-mongo -d mongo $ docker run --name my-mongo -d mongo
$ docker run --name my-parse-server --link my-mongo:mongo parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test $ docker run --name my-parse-server --link my-mongo:mongo -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test
``` ```
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. 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.