-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
51 lines (48 loc) · 1.23 KB
/
docker-compose.yaml
File metadata and controls
51 lines (48 loc) · 1.23 KB
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
version: '1'
services:
# app:
# build: .
# ports:
# - "8080:8080"
# depends_on:
# - elasticsearch
# environment:
# - GOOGLE_CLIENT_ID: "510632257466-7ebmto0f084dm9ho9oc3u5ealuprivlb.apps.googleusercontent.com"
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:8.13.0
environment: ['CLI_JAVA_OPTS=-Xms2g -Xmx2g','bootstrap.memory_lock=true','discovery.type=single-node','xpack.security.enabled=false', 'xpack.security.enrollment.enabled=false']
ports:
- 9200:9200
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
deploy:
resources:
limits:
cpus: '2.0'
reservations:
cpus: '1.0'
kibana:
image: docker.elastic.co/kibana/kibana:8.13.0
container_name: kibana
environment:
# XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
ports:
- 5601:5601
deploy:
resources:
limits:
cpus: '2.0'
reservations:
cpus: '1.0'
# # rabbitmq:
# image: "rabbitmq:3-management"
# ports:
# - "5672:5672"
# - "15672:15672"