-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathdocker-compose.yaml
139 lines (134 loc) · 2.73 KB
/
docker-compose.yaml
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
132
133
134
135
136
137
138
139
version: '3.4'
services:
metad:
image: vesoft/nebula-metad:nightly
environment:
USER: root
TZ: UTC
command:
- --meta_server_addrs=metad:9559
- --local_ip=metad
- --ws_ip=metad
- --port=9559
- --ws_http_port=19559
healthcheck:
test: ["CMD", "curl", "-f", "http://metad:19559/status"]
interval: 15s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 9559
- 19559
- 19560
networks:
nebula-net:
restart: on-failure
cap_add:
- SYS_PTRACE
storaged:
image: vesoft/nebula-storaged:nightly
environment:
USER: root
TZ: UTC
command:
- --meta_server_addrs=metad:9559
- --local_ip=storaged
- --ws_ip=storaged
- --port=9779
- --ws_http_port=19779
- --local_config=false
depends_on:
- metad
healthcheck:
test: ["CMD", "curl", "-f", "http://storaged:19779/status"]
interval: 15s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 9779
- 19779
- 19780
networks:
nebula-net:
restart: on-failure
cap_add:
- SYS_PTRACE
graphd1:
image: vesoft/nebula-graphd:nightly
environment:
USER: root
TZ: UTC
command:
- --meta_server_addrs=metad:9559
- --local_ip=graphd1
- --ws_ip=graphd1
- --port=9669
- --ws_http_port=19669
- --local_config=false
depends_on:
- metad
- storaged
healthcheck:
test: ["CMD", "curl", "-f", "http://graphd1:19669/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 9669
- 19669
- 19670
networks:
nebula-net:
restart: on-failure
cap_add:
- SYS_PTRACE
graphd2:
image: vesoft/nebula-graphd:nightly
environment:
USER: root
TZ: UTC
command:
- --meta_server_addrs=metad:9559
- --local_ip=graphd1
- --ws_ip=graphd2
- --port=9669
- --ws_http_port=19669
- --enable_authorize=true
- --local_config=false
depends_on:
- metad
- storaged
healthcheck:
test: ["CMD", "curl", "-f", "http://graphd2:19669/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 9669
- 19669
- 19670
networks:
nebula-net:
restart: on-failure
cap_add:
- SYS_PTRACE
importer:
image: golang:alpine
volumes:
- .:/usr/local/nebula/importer:rw
working_dir: /usr/local/nebula
entrypoint:
- ./importer/ci/bootstrap.sh
- "graphd1"
- "9669"
depends_on:
- graphd1
- graphd2
networks:
nebula-net:
networks:
nebula-net: