-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (54 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
56 lines (54 loc) · 1.2 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
52
53
54
55
56
version: "3.3"
services:
tigergraph:
build: src/main/docker/tigergraph
container_name: tg-container
hostname: tg-container
networks:
- dev
ports:
- "14022:22"
- "9000:9000"
- "14240:14240"
depends_on:
- elasticsearch
- kibana
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:9000/echo || exit 1"]
interval: 5s
timeout: 10s
retries: 5
volumes:
- ./src/main/config/tigergraph:/home/tigergraph/config
ulimits:
nofile:
soft: 1000000
hard: 1000000
stdin_open: true
tty: true
elasticsearch:
container_name: es-container
hostname: es-container
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.1
environment:
- xpack.security.enabled=false
- "discovery.type=single-node"
networks:
- dev
ports:
- 9200:9200
kibana:
container_name: kb-container
hostname: kb-container
image: docker.elastic.co/kibana/kibana:7.16.1
environment:
- ELASTICSEARCH_HOSTS=http://es-container:9200
networks:
- dev
depends_on:
- elasticsearch
ports:
- 5601:5601
networks:
dev:
driver: bridge