-
-
Save seifscape/39b8f9f155d0994d6925730e700f4538 to your computer and use it in GitHub Desktop.
Mongo + ParseServer + Dashboard on Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mongo: | |
image: mongo | |
ports: | |
- 27017:27017 | |
volumes: | |
- ./data-db:/data/db | |
parse: | |
image: parseplatform/parse-server | |
ports: | |
- 1337:1337 | |
links: | |
- mongo | |
environment: | |
- PARSE_SERVER_APPLICATION_ID=yourappid | |
- PARSE_SERVER_MASTER_KEY=yourmasterkey | |
- PARSE_SERVER_DATABASE_URI=mongodb://mongo:27017/dev | |
- PARSE_SERVER_START_LIVE_QUERY_SERVER=1 | |
- PARSE_SERVER_LIVE_QUERY={"classNames":["people","monitor"]} | |
dashboard: | |
image: parseplatform/parse-dashboard | |
ports: | |
- 4040:4040 | |
environment: | |
- PARSE_DASHBOARD_SERVER_URL=http://localhost:1337/parse | |
- PARSE_DASHBOARD_APP_ID=yourappid | |
- PARSE_DASHBOARD_MASTER_KEY=yourmasterkey | |
- PARSE_DASHBOARD_APP_NAME=MyApp | |
- PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1 | |
- PARSE_DASHBOARD_USER_ID=user | |
- PARSE_DASHBOARD_USER_PASSWORD=pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment