-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathdocker-compose.yml
61 lines (56 loc) · 1.35 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
---
version: "2"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.10
environment:
- cluster.name=docker-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- xpack.graph.enabled=false
- xpack.watcher.enabled=false
ports:
- "127.0.0.1:9200:9200"
logstash:
build:
context: ./logstash
dockerfile: ./Dockerfile
environment:
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- xpack.graph.enabled=false
- xpack.watcher.enabled=false
mongodb:
image: mongo
ports:
- "127.0.0.1:27017:27017"
volumes:
- mongo_data:/data
cascade_web:
build:
context: ..
args:
- "http_proxy:${http_proxy}"
- "https_proxy:${https_proxy}"
- "no_proxy:${no_proxy}"
image: "cascade:latest"
volumes:
- cascade_conf:/opt/cascade-server/conf
ports:
- "127.0.0.1:5000:5000"
cascade_jobs:
image: "cascade:latest"
# build:
# context: .
volumes:
- cascade_conf:/opt/cascade-server/conf
depends_on:
- cascade_web
- mongodb
command: python cascade.py -vv --jobs
volumes:
mongo_data: {}
cascade_conf: {}