-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (53 loc) · 1.2 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
version: "3.3"
services:
choralweb:
build: .
command: npm run-script dev
ports:
- "3000:3000"
volumes:
- .:/app
depends_on:
- mongodb
environment:
REDIS_STORE_URI: "redis://redis:6379"
REDIS_STORE_SECRET: "DEVELOPMENT_SECRET"
MONGO_URL: "mongodb://mongodb:27017"
CASSANDRA_URL: "cassandra"
external_links:
- redis
- cassandra
choralworker:
build: .
command: npm run-script dev-worker
ports:
- "3001:3000"
volumes:
- .:/app
depends_on:
- mongodb
environment:
REDIS_STORE_URI: "redis://redis:6379"
MONGO_URL: "mongodb://mongodb:27017"
UPDATE_NEW_CHORALS: "3000"
ALLEGRO_URL: "http://choralallegro:8081"
#CHORAL_FUNCTION_TIMEOUT: 100
external_links:
- redis
- choralallegro
mongodb:
image: mongo:latest
container_name: "mongo_db"
environment:
- MONGO_DATA_DIR=/data/db
# do not keep track of the logs
- MONGO_LOG_DIR=/dev/null
volumes:
- ./data/db:/data/db
ports:
- 27017:27017
command: mongod --smallfiles --logpath=/dev/null # --quiet
networks:
default:
external:
name: choralstorm