-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (53 loc) · 1.11 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
version: '3.7'
services:
api:
image: docker.io/library/search-service-api:latest
environment:
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL}
ports:
- 8080:8080
depends_on:
- elasticsearch
networks:
- search
elasticsearch:
hostname: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.3
environment:
- discovery.type=single-node
- xpack.security.enabled=false
ports:
- 9200:9200
- 9300:9300
networks:
- search
volumes:
- elasticsearch:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:8.11.3
environment:
- ELASTICSEARCH_HOSTS=${ELASTICSEARCH_URL}
ports:
- 5601:5601
depends_on:
- elasticsearch
networks:
- search
monstache:
image: rwynn/monstache:rel6
restart: always
working_dir: /monstache
command: -f ./config.toml
depends_on:
- elasticsearch
networks:
- search
volumes:
- ./monstache:/monstache
networks:
search:
volumes:
monstache:
elasticsearch:
driver:
local