This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fig.yml
87 lines (77 loc) · 1.51 KB
/
fig.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
87
app:
build: .
command: "bundle exec rails s -e development -p 8080"
ports:
- "0.0.0.0:8080:8080"
links:
- mongo
- redis
- rabbit
- mail
- memcached
- push
volumes:
- .:/usr/src/cloudsdale-web
volumes_from:
- gems
environment:
RAILS_ENV: development
push:
image: zeeraw/cloudsdale-push:latest
ports:
- "8282:8282"
volumes:
- ./node_modules:/usr/src/cloudsdale-push/node_modules
links:
- mongo
- redis
- rabbit
environment:
AMQP_URL: amqp://admin:pass@rabbit:5672
MONGO_URL: mongo://mongo:27017/cloudsdale
REDIS_URL: redis://redis:6379/0
FAYE_ENV: development
FAYE_URL: ws://0.0.0.0:8282/push
FAYE_TOKEN: 650659cd4801877e56a176d70dcd4851fa4c86327b3b9439fef2fbf77543b8e2
gems:
image: busybox:latest
command: "tail -f /dev/null"
volumes:
- /usr/local/bundle
data:
image: busybox:latest
command: "tail -f /dev/null"
volumes:
- ./db/data/:/data
mongo:
image: mongo:2.4.10
command: mongod --smallfiles --verbose
volumes_from:
- data
ports:
- "27017:27017"
redis:
image: redis:latest
command: redis-server
ports:
- "6379:6379"
rabbit:
image: tutum/rabbitmq:latest
ports:
- "5672:5672"
- "15672:15672"
volumes:
- /var/log/rabbitmq
environment:
- RABBITMQ_PASS=pass
memcached:
image: tutum/memcached:latest
ports:
- "11211:11211"
environment:
- MEMCACHED_PASS=pass
mail:
image: schickling/mailcatcher:latest
ports:
- "1025:1025"
- "1080:1080"