-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
131 lines (125 loc) · 2.69 KB
/
docker-compose.yaml
File metadata and controls
131 lines (125 loc) · 2.69 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
version: '3.4'
services:
metad:
image: vesoft/nebula-metad:v2-nightly
environment:
USER: root
command:
- --meta_server_addrs=metad:45500
- --local_ip=metad
- --ws_ip=metad
- --port=45500
volumes:
- metadata:/usr/local/nebula/data/meta
- logsdata:/usr/local/nebula/logs
healthcheck:
test: ["CMD", "curl", "-f", "http://metad:11000/status"]
interval: 15s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 11000
- 11002
networks:
nebula-net:
restart: on-failure
storaged:
image: vesoft/nebula-storaged:v2-nightly
environment:
USER: root
command:
- --meta_server_addrs=metad:45500
- --local_ip=storaged
- --ws_ip=storaged
- --port=44500
volumes:
- storagedata:/usr/local/nebula/data/storage
- logsdata:/usr/local/nebula/logs
depends_on:
- metad
healthcheck:
test: ["CMD", "curl", "-f", "http://storaged:12000/status"]
interval: 15s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 12000
- 12002
networks:
nebula-net:
restart: on-failure
graphd1:
image: vesoft/nebula-graphd:v2-nightly
environment:
USER: root
command:
- --meta_server_addrs=metad:45500
- --port=3699
- --ws_ip=graphd1
- --log_dir=/usr/local/nebula/logs1
volumes:
- logsdata:/usr/local/nebula/logs1
depends_on:
- metad
healthcheck:
test: ["CMD", "curl", "-f", "http://graphd1:13000/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 3699
- 13000
- 13002
networks:
nebula-net:
restart: on-failure
graphd2:
image: vesoft/nebula-graphd:v2-nightly
environment:
USER: root
command:
- --meta_server_addrs=metad:45500
- --port=3699
- --ws_ip=graphd2
- --log_dir=/usr/local/nebula/logs2
- --enable_authorize=true
volumes:
- logsdata:/usr/local/nebula/logs2
depends_on:
- metad
healthcheck:
test: ["CMD", "curl", "-f", "http://graphd2:13000/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 3699
- 13000
- 13002
networks:
nebula-net:
restart: on-failure
importer:
image: golang:alpine
volumes:
- .:/usr/local/nebula/importer:rw
working_dir: /usr/local/nebula
entrypoint:
- ./importer/ci/bootstrap.sh
- "graphd1"
- "3699"
depends_on:
- graphd1
- graphd2
networks:
nebula-net:
networks:
nebula-net:
volumes:
storagedata:
metadata:
logsdata: