forked from yongjhih/docker-parse-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tutum.yml
59 lines (54 loc) · 1.33 KB
/
tutum.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
haproxy:
image: tutum/haproxy
#image: dockercloud/haproxy
links:
- parse-server
ports:
- "1337:1337"
- "2022:22"
restart: always
roles:
- global
parse-server:
#build: .
image: yongjhih/parse-server
environment:
DATABASE_URI: $DATABASE_URI
APP_ID: $APP_ID
MASTER_KEY: $MASTER_KEY
PARSE_MOUNT: $PARSE_MOUNT
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
links:
- mongo
volumes_from:
- parse-cloud-code
restart: always
parse-cloud-code:
#build: cloud/.
image: yongjhih/parse-cloud-code
volumes:
- /parse/cloud
command: "ls /parse/cloud"
mongo:
image: mongo:3.0.8 # ref. https://github.com/ParsePlatform/parse-server/issues/1913
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/
restart: always
mongo-data:
image: mongo
volumes:
- /data/db
command: "--break-mongo"
# vim:set et ts=2 sw=2: