-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
49 lines (45 loc) · 971 Bytes
/
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
version: "3.3"
services:
docker-mongo:
image: mongo:4.4
ports:
- "27017:27017"
deploy:
resources:
limits:
cpus: "2"
memory: "2G"
reservations:
cpus: "0.5"
memory: "512M"
docker-elastic:
image: elasticsearch:7.17.4
environment:
- cluster.name=elasticsearch
- discovery.type=single-node
- http.host=0.0.0.0
- xpack.security.enabled=false
- transport.host=0.0.0.0
ports:
- "9200:9200"
- "9300:9300"
deploy:
resources:
limits:
cpus: "2"
memory: "2G"
reservations:
cpus: "0.5"
memory: "512M"
docker-redis:
image: redis:6
ports:
- "6379:6379"
# kibana:
# image: docker.elastic.co/kibana/kibana:7.17.4
# environment:
# - ELASTICSEARCH_HOSTS=http://docker-elastic:9200
# depends_on:
# - docker-elastic
# ports:
# - "5601:5601"