From a4a3b6a62f086fe24b92c1761cc4e1b3b620cbea Mon Sep 17 00:00:00 2001 From: Priyash Patil <38959321+priyashpatil@users.noreply.github.com> Date: Mon, 28 Oct 2019 20:42:22 +0530 Subject: [PATCH] Add exposing port in docker container Add port exposure for docker run command. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c41f42ab17..03d3210b72 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ $ git clone https://github.com/parse-community/parse-server $ cd parse-server $ docker build --tag parse-server . $ docker run --name my-mongo -d mongo -$ docker run --name my-parse-server --link my-mongo:mongo -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test +$ 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 ``` 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.