forked from dataXdevelopment/CentralDogma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
51 lines (49 loc) · 1.15 KB
/
compose.yaml
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
version: "3.8"
services:
server:
build:
context: .
ports:
- 4000:4000
volumes:
- ./:/app
command: ["./.wait-for-it.sh", "rabbitmq:15672", "--", "npm", "run", "dev"]
# Requires CentralCodgma and SEELE to be in a shared folder
metacritic_worker:
build:
context: ../SEELE/
volumes:
# Point to the location of SEELE workspace
- ../SEELE/:/app
command: ["npx", "nodemon", "workers/meta_critic.py"]
deploy:
replicas: 3
environment:
- PYTHONPATH=/app
- GOOGLE_APPLICATION_CREDENTIALS=/app/service-account.json
rabbitmq:
image: "rabbitmq:3.9-management"
ports:
- 5672:5672
- 15672:15672
selenium_grid:
image: "selenium/standalone-chrome:latest"
ports:
- 4444:4444
shm_size: "2g"
redis:
image: "redis:latest"
ports:
- 6379:6379
healthcheck:
test: ["CMD", "redis-cli", "ping"]
# Only needed to debug redis and thus can be commented out
redis-insight:
image: "redislabs/redisinsight:latest"
volumes:
- redis-insight-data:/db
ports:
- 8001:8001
volumes:
redis-insight-data:
external: false