Skip to content

Commit 4c0d9ef

Browse files
authored
Add NebulaGraph, RedPanda (#13)
* add clickhouse, cockroach, meilisesarch, scylla, tarantool, tidb cluster, typesense, yugabyte * Update README.md * add aerospike * update README.md aerospike * remove www * bugfix docs clickhouse link * add nebula, redpanda, fix scylla typo
1 parent 3f0661a commit 4c0d9ef

File tree

6 files changed

+146
-1
lines changed

6 files changed

+146
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ tidb/config/*/
66
.idea
77
cockroach/cockroach1
88
cockroach/data
9+
nebulagraph/data
10+
nebulagraph/logs

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ Fauna | [./fauna](./fauna/) | <https://fauna.com/>
1313
MariaDB | [./maria](./maria/) | <https://mariadb.org/>
1414
MeiliSearch | [./meilisearch](./meilisearch/) | <https://meilisearch.com/>
1515
MongoDB | [./mongo](./mongo/) | <https://mongodb.com/>
16+
NebulaGraph | [./nebulagraph](./nebulagraph/) | <https://nebula-graph.io/>
1617
MySQL | [./mysql](./mysql/) | <https://mysql.com/>
1718
PostgreSQL | [./postgres](./postgres/) | <https://postgresql.org/>
1819
Redis | [./redis](./redis/) | <https://redis.io/>
19-
ScyllDB | [./scylla](./scylla) | <https://scylladb.com/>
20+
RedPanda | [./redpanda](./redpanda) | <https://vectorized.io/>
21+
ScyllaDB | [./scylla](./scylla) | <https://scylladb.com/>
2022
Tarantool | [./tarantool](./tarantool/) | <https://tarantool.io/>
2123
TiDB | [./tidb](./tidb/) | <https://pingcap.com/>
2224
YugaByteDB | [./yugabyte](./yugabyte) | <https://yugabyte.com/>

nebulagraph/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# NebulaGraph w/ Docker Compose
2+
3+
With default password
4+
5+
## Connecting with client
6+
7+
```
8+
nebula-console -u root -p nebula --address=graphd --port=9669
9+
10+
# or
11+
12+
ip=`ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1' | head -n 1`
13+
docker run --rm -it --entrypoint nebula-console vesoft/nebula-console:v2.0.1 -u root -p nebula --address=$ip --port=9669
14+
```
15+
16+
17+
## Other docs
18+
19+
[nebula docker compose](https://docs.nebula-graph.io/2.0.1/2.quick-start/2.deploy-nebula-graph-with-docker-compose/)

nebulagraph/docker-compose.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
version: '3.4'
2+
3+
services:
4+
metad0:
5+
image: vesoft/nebula-metad:v2.0.1
6+
environment:
7+
USER: root
8+
TZ: "${TZ}"
9+
command:
10+
- --meta_server_addrs=metad0:9559
11+
- --local_ip=metad0
12+
- --ws_ip=metad0
13+
- --port=9559
14+
- --ws_http_port=19559
15+
- --data_path=/data/meta
16+
- --log_dir=/logs
17+
- --v=0
18+
- --minloglevel=0
19+
healthcheck:
20+
test: ["CMD", "curl", "-sf", "http://metad0:19559/status"]
21+
interval: 30s
22+
timeout: 10s
23+
retries: 3
24+
start_period: 20s
25+
ports:
26+
- 9559
27+
- 19559
28+
- 19560
29+
volumes:
30+
- ./data/meta0:/data/meta
31+
- ./logs/meta0:/logs
32+
restart: on-failure
33+
cap_add:
34+
- SYS_PTRACE
35+
36+
storaged0:
37+
image: vesoft/nebula-storaged:v2.0.1
38+
environment:
39+
USER: root
40+
TZ: "${TZ}"
41+
command:
42+
- --meta_server_addrs=metad0:9559
43+
- --local_ip=storaged0
44+
- --ws_ip=storaged0
45+
- --port=9779
46+
- --ws_http_port=19779
47+
- --data_path=/data/storage
48+
- --log_dir=/logs
49+
- --v=0
50+
- --minloglevel=0
51+
depends_on:
52+
- metad0
53+
healthcheck:
54+
test: ["CMD", "curl", "-sf", "http://storaged0:19779/status"]
55+
interval: 30s
56+
timeout: 10s
57+
retries: 3
58+
start_period: 20s
59+
ports:
60+
- 9779
61+
- 19779
62+
- 19780
63+
volumes:
64+
- ./data/storage0:/data/storage
65+
- ./logs/storage0:/logs
66+
restart: on-failure
67+
cap_add:
68+
- SYS_PTRACE
69+
70+
graphd:
71+
image: vesoft/nebula-graphd:v2.0.1
72+
environment:
73+
USER: root
74+
TZ: "${TZ}"
75+
command:
76+
- --meta_server_addrs=metad0:9559
77+
- --port=9669
78+
- --local_ip=graphd
79+
- --ws_ip=graphd
80+
- --ws_http_port=19669
81+
- --log_dir=/logs
82+
- --v=0
83+
- --minloglevel=0
84+
depends_on:
85+
- storaged0
86+
healthcheck:
87+
test: ["CMD", "curl", "-sf", "http://graphd:19669/status"]
88+
interval: 30s
89+
timeout: 10s
90+
retries: 3
91+
start_period: 20s
92+
ports:
93+
- "9669:9669"
94+
- 19669
95+
- 19670
96+
volumes:
97+
- ./logs/graph:/logs
98+
restart: on-failure
99+
cap_add:
100+
- SYS_PTRACE

redpanda/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# RedPanda w/ Docker Compose
2+
3+
with default no password
4+
5+
## Connecting with client
6+
7+
```
8+
node=`docker ps | grep redpanda | cut -f 1 -d ' '`
9+
docker exec -it redpanda-1 rpk
10+
```
11+
12+
## Other docs
13+
14+
[redpanda docker](https://vectorized.io/docs/quick-start-docker)

redpanda/docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: '3'
2+
3+
services:
4+
db:
5+
image: vectorized/redpanda:latest
6+
command: redpanda start --overprovisioned --smp 1 --memory 1G --reserve-memory 0M --node-id 0 --check=false
7+
ports:
8+
- 9092:9092

0 commit comments

Comments
 (0)