-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
64 lines (64 loc) · 1.33 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
version: '2.2'
services:
watcher:
image: watcher
build:
context: .
dockerfile: Dockerfile.watcher
environment:
MASTODON_SERVER: mastodon.social
NSQD_SERVER: nsqd:4150
volumes:
- watcherdb:/data
depends_on:
- nsqd
indexer:
image: indexer
build:
context: .
dockerfile: Dockerfile.indexer
environment:
NSQD_SERVER: nsqd:4150
ES_SERVER: http://es01:9200
depends_on:
- nsqd
- es01
nsqd:
image: nsqio/nsq
command: /nsqd
ports:
- 4150:4150
- 4151:4151
nsqadmin:
image: nsqio/nsq
command: /nsqadmin -nsqd-http-address=nsqd:4151
ports:
- 4171:4171
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.7
container_name: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- bootstrap.memory_lock=true
- cluster.initial_master_nodes=es01
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
kibana:
image: docker.elastic.co/kibana/kibana:7.17.7
ports:
- 5601:5601
environment:
ELASTICSEARCH_HOSTS: '["http://es01:9200"]'
volumes:
data01:
driver: local
watcherdb:
driver: local