-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·98 lines (88 loc) · 2.62 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
version: '3.3'
services:
twitterfeedback:
build: ./microservices/ri-collection-explicit-feedback-twitter
ports:
- 9624:9624
environment:
- CONSUMER_KEY=75XRiD5jPZYLWJbetYzppUzXW
- CONSUMER_SECRET=hM5zTc9PRWWvmzTaaxVfDkcEzBVPUsbtx87FXhtEnm0WE9dL6R
- ACCESS_KEY=1153914656081289216-dxDcVj7cQbsQiDAwbHMx7pNzcMYjo4
- ACCESS_SECRET=l5hkwN6T68K4D2Vjd2PV4a2RWLmTHRCPPN9SWSeha3e93
storage:
build: ./microservices/ri-storage-twitter
ports:
- 9682:9682
environment:
- MONGO_IP=193.146.116.148:27017
depends_on:
- mongodb
mongodb:
image: mongo
ports:
- 27017:27017
volumes:
- "databaseEOCS:/data/db"
classification:
build:
context: ./microservices/ri-analytics-classification-twitter
args:
- "GDRIVE_DL_LINK=1fcMjYmmjY9-WMOauYle6fFLooJ0u9OlU"
ports:
- 9655:9655
volumes:
- "./microservices/ri-analytics-classification-twitter/SentiStrength.jar:/app/amazon-kinesis-client-python/sentistrength/SentiStrength.jar"
orchestration:
build: ./microservices/ri-orchestration-twitter
ports:
- 9703:9703
environment:
- BASE_URL=http://193.146.116.148
- WAIT_HOSTS= mongo:27017
volumes:
- "./microservices/ri-orchestration-twitter/ca_chain.crt:/go/src/app/ca_chain.crt"
depends_on:
- mongodb
- twitterfeedback
- storage
- classification
healthcheck:
test: ["CMD", "curl", "-f", "http://193.146.116.148:9682/hitec/repository/twitter/observables"]
interval: 30s
timeout: 10s
retries: 5
liquidedemocracy:
build: ./microservices/gds-edemocracy
ports:
- "9750:9750"
depends_on:
- "db"
environment:
MIX_ENV: docker
EXVOTE_PORT: 9750
EXVOTE_PATH: /
EXVOTE_HOST: localhost
db:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ex_vote_dev
ports:
- 5432:5432
volumes:
- "db-data:/var/lib/postgresql/data"
frontend:
build: ./frontend
ports:
- 80:80
depends_on:
- backend
backend:
build: ./backend
ports:
- 3000:3000
volumes:
db-data:
#external : true
databaseEOCS: