Created
January 24, 2017 05:11
-
-
Save mishudark/9422c438ad2d24e2a9a55230a3047c50 to your computer and use it in GitHub Desktop.
Parse Server
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: '2.0' | |
services: | |
mongo: | |
image: jadsonlourenco/mongo-rocks | |
environment: | |
AUTH: "no" | |
DB_USER: "user" | |
DB_PASS: "pass" | |
DATABASE: "parse" | |
ports: | |
- "27017:27017" | |
volumes_from: | |
- mongo-data | |
command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false" | |
mongo-data: | |
image: mongo | |
volumes: | |
- /data/db | |
command: "--break-mongo" | |
parse: | |
build: . | |
environment: | |
PORT: 1337 | |
PARSE_SERVER_APPLICATION_ID: $APP_ID | |
PARSE_SERVER_MASTER_KEY: $MASTER_KEY | |
PARSE_SERVER_DATABASE_URI: mongodb://mongo/parse | |
ports: | |
- "1337:1337" | |
depends_on: | |
- mongo | |
links: | |
- mongo | |
parse-dashboard: | |
image: parse-dashboard | |
environment: | |
PARSE_DASHBOARD_SERVER_URL: "http://localhost:1337/parse" | |
PARSE_DASHBOARD_MASTER_KEY: $MASTER_KEY | |
PARSE_DASHBOARD_APP_ID: $APP_ID | |
PARSE_DASHBOARD_USER_ID: "admin" | |
PARSE_DASHBOARD_USER_PASSWORD: "pass" | |
PARSE_DASHBOARD_ALLOW_INSECURE_HTTP: 1 | |
PARSE_DASHBOARD_APP_NAME: $APP_ID | |
ports: | |
- "4040:4040" | |
depends_on: | |
- parse | |
links: | |
- parse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment