Docker Application for running a Parseplatform.org Server (production & development).
Comes with MongoDB, Parse Dashboard, and SSL httpd proxy.
Each Parse app utilizes its own database.
Based on Bitnami images.
-
Copy
sample.env
to.env
and modify accordingly -
Start / stop the apps
-
Each app will now have an auto-generated default config file (with info derived from the
.env
file) -
Make a note of the MongoDB database URI provided by these auto-generated config files
-
Modify these default config files accordingly (see
sample
configs in this repo.) and restart the apps. -
For Parse Dashboard, the
serverURL
parameter inconfig.json
should be pointing at the public URL for the Parse server(s), not the Docker container name.
docker-compose up -d
curl -X GET \
-H "X-Parse-Application-Id: parseapp" \
-H "X-Parse-REST-API-Key: [rest api key]" \
-H "Content-Type: application/json" \
-d '{}' \
http://[hostname]:1337/parse/classes/WallPost
curl -X GET \
-H "X-Parse-Application-Id: parseapp" \
-H "X-Parse-REST-API-Key: [rest api key]" \
-H "Content-Type: application/json" \
-d '{}' \
-k \
https://[hostname]/parse/classes/WallPost