forked from yongjhih/docker-parse-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (84 loc) · 2.44 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
parse-server:
#build: .
image: yongjhih/parse-server
ports:
- "1337:1337"
- "2022:22"
environment:
DATABASE_URI: $DATABASE_URI
APP_ID: $APP_ID
MASTER_KEY: $MASTER_KEY
PARSE_MOUNT: $PARSE_MOUNT # /parse
COLLECTION_PREFIX: $COLLECTION_PREFIX
CLIENT_KEY: $CLIENT_KEY
REST_API_KEY: $REST_API_KEY
DOTNET_KEY: $DOTNET_KEY
JAVASCRIPT_KEY: $JAVASCRIPT_KEY
DOTNET_KEY: $DOTNET_KEY
FILE_KEY: $FILE_KEY
FACEBOOK_APP_IDS: $FACEBOOK_APP_IDS
SERVER_URL: $SERVER_URL
MAX_UPLOAD_SIZE: $MAX_UPLOAD_SIZE # 20mb
GCM_ID: $GCM_ID
GCM_KEY: $GCM_KEY
PRODUCTION_PFX: $PRODUCTION_PFX
PRODUCTION_BUNDLE_ID: $PRODUCTION_BUNDLE_ID
PRODUCTION_CERT: $PRODUCTION_CERT # prodCert.pem
PRODUCTION_KEY: $PRODUCTION_KEY # prodKey.pem
DEV_PFX: $DEV_PFX
DEV_BUNDLE_ID: $DEV_BUNDLE_ID
DEV_CERT: $DEV_CERT # devCert.pem
DEV_KEY: $DEV_KEY # devKey.pem
VERIFY_USER_EMAILS: $VERIFY_USER_EMAILS # false
ENABLE_ANON_USERS: $ENABLE_ANON_USERS # true
ALLOW_CLIENT_CLASS_CREATION: $ALLOW_CLIENT_CLASS_CREATION # true
APP_NAME: $APP_NAME
PUBLIC_SERVER_URL: $PUBLIC_SERVER_URL
TRUST_PROXY: $TRUST_PROXY
links:
- mongo
volumes_from:
- parse-cloud-code
parse-cloud-code:
#build: cloud/.
image: yongjhih/parse-cloud-code
volumes:
- /parse/cloud
command: "ls /parse/cloud"
mongo:
image: mongo
ports:
- "27017:27017"
volumes_from:
- mongo-data
# command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false --rest --auth"
command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false"
# ref. http://www.diogogmt.com/running-mongodb-with-docker-and-compose/
mongo-data:
image: mongo
volumes:
- /data/db
command: "--break-mongo"
parse-dashboard:
image: yongjhih/parse-dashboard
links:
- parse-server
environment:
PARSE_SERVER_URL: $PARSE_SERVER_URL
PARSE_APP_ID: $PARSE_APP_ID
PARSE_MASTER_KEY: $PARSE_MASTER_KEY
PARSE_JS_KEY: $PARSE_JS_KEY
PARSE_REST_KEY: $PARSE_REST_KEY
PARSE_APP_NAME: $PARSE_APP_NAME
SERVER_URL: $SERVER_URL
APP_ID: $APP_ID
MASTER_KEY: $MASTER_KEY
APP_NAME: $APP_NAME
PARSE_DASHBOARD_ALLOW_INSECURE_HTTP: $PARSE_DASHBOARD_ALLOW_INSECURE_HTTP
USER1: $USER1
USER1_PASSWORD: $USER1_PASSWORD
ports:
- "4040:4040"
# volumes:
# - "parse-dashboard-config.json:/src/Parse-Dashboard/parse-dashboard-config.json"
# vim:set et ts=2 sw=2: