-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
111 lines (105 loc) · 2.79 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: '2'
services:
rabbitmq:
restart: always
hostname: rabbitmq
image: "rabbitmq:3-management"
ports:
- "15672:15672"
filter:
restart: always
build:
context: .
dockerfile: filter/Dockerfile
args:
- path=filter
hostname: filter
environment:
DEBUG: 'filter'
links:
- rabbitmq:rabbitmq
volumes:
- ./filter/config.json:/usr/src/app/config.json:ro
depends_on:
- rabbitmq
file-reader:
build:
context: .
dockerfile: file-reader/Dockerfile
args:
- path=file-reader
volumes:
- ./file-reader/sampletweets.json:/usr/src/app/sampletweets.json:ro
depends_on:
- rabbitmq
twitter-reader:
restart: always
build:
context: .
dockerfile: twitter-reader/Dockerfile
args:
- path=twitter-reader
environment:
DEBUG: '*'
links:
- rabbitmq:rabbitmq
volumes:
- ./twitter-reader/client_secret.json:/usr/src/app/client_secret.json:ro
- ./twitter-reader/user_secret.json:/usr/src/app/user_secret.json:ro
- ./twitter-reader/config.json:/usr/src/app/config.json:ro
depends_on:
- rabbitmq
instagram-publisher:
hostname: instapublisher
restart: always
build:
context: .
dockerfile: instagram-publisher/Dockerfile
args:
- path=instagram-publisher
environment:
DEBUG: 'instagram-publisher'
links:
- rabbitmq:rabbitmq
volumes:
- ./instagram-publisher/font.otf:/usr/src/app/font.otf:ro
- ./instagram-publisher/config.json:/usr/src/app/config.json:ro
- ./instagram-publisher/credentials.json:/usr/src/app/credentials.json:ro
depends_on:
- rabbitmq
twitter-publisher:
restart: always
build:
context: .
dockerfile: twitter-publisher/Dockerfile
args:
- path=twitter-publisher
hostname: twitterpublisher
environment:
DEBUG: 'twitter-publisher'
links:
- rabbitmq:rabbitmq
volumes:
- ./twitter-publisher/user_secret.json:/usr/src/app/user_secret.json:ro
- ./twitter-publisher/client_secret.json:/usr/src/app/client_secret.json:ro
- ./twitter-publisher/config.json:/usr/src/app/config.json:ro
depends_on:
- rabbitmq
google-publisher:
restart: always
build:
context: .
dockerfile: google-publisher/Dockerfile
args:
- path=google-publisher
hostname: googlepublisher
environment:
DEBUG: 'google-publisher'
links:
- rabbitmq:rabbitmq
volumes:
- ./google-publisher/client_secret.json:/usr/src/app/client_secret.json:ro
- ./google-publisher/config.json:/usr/src/app/config.json:ro
- ./google-publisher/user_secret.json:/usr/src/app/user_secret.json:ro
depends_on:
- rabbitmq