forked from Qianlitp/WatchAD
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
61 lines (57 loc) · 1.34 KB
/
docker-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
52
53
54
55
56
57
58
59
60
61
version: '3'
services:
watchad_rabbitmq:
image: rabbitmq:management
ports:
- "15672:15672"
- "5672:5672"
environment:
RABBITMQ_IO_THREAD_POOL_SIZE: 100
RABBITMQ_HIPE_COMPILE: "true"
RABBITMQ_DEFAULT_USER: WatchAD
RABBITMQ_DEFAULT_PASS: WatchAD-by-0KEE
restart: always
watchad_logstash:
image: logstash:6.4.1
ports:
- "5044:5044"
environment:
XPACK_MONITORING_ENABLED: "false"
pipeline.batch.size: 10
volumes:
- ./settings/logstash/:/usr/share/logstash/pipeline/
links:
- watchad_elasticsearch
restart: always
watchad_elasticsearch:
image: elasticsearch:5.2.1
environment:
http.host: 0.0.0.0
transport.host: 127.0.0.1
cluster.name: docker-cluster
bootstrap.memory_lock: "true"
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
thread_pool.bulk.size: 9
thread_pool.bulk.queue_size: 1000
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
ports:
- "9200:9200"
restart: always
watchad_redis:
image: redis:latest
ports:
- "6379:6379"
restart: always
watchad_mongo:
image: mongo:latest
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: WatchAD
MONGO_INITDB_ROOT_PASSWORD: WatchAD-by-0KEE