forked from cnosdb/distributed-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (63 loc) · 1.77 KB
/
docker-compose.yml
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
version: '3'
services:
nginx:
image: nginx:1.18.0-alpine
container_name: nginx
volumes:
- ./conf/nginx/nginx.conf:/etc/nginx/nginx.conf
ports:
- "8901:8901"
- "8902:8902"
- "8903:8903"
- "8904:8904"
- "8905:8905"
meta1:
image: cnosdb/cnosdb:community-latest
container_name: meta1.cnosdb.com
volumes:
- ./conf/meta1:/etc/cnosdb
command:
- /bin/bash
- -c
- |
cnosdb-meta --config /etc/cnosdb/cnosdb-meta.conf
meta2:
image: cnosdb/cnosdb:community-latest
container_name: meta2.cnosdb.com
volumes:
- ./conf/meta2:/etc/cnosdb
command:
- /bin/bash
- -c
- |
cnosdb-meta --config /etc/cnosdb/cnosdb-meta.conf
meta3:
image: cnosdb/cnosdb:community-latest
container_name: meta3.cnosdb.com
volumes:
- ./conf/meta3:/etc/cnosdb
command:
- /bin/bash
- -c
- |
cnosdb-meta --config /etc/cnosdb/cnosdb-meta.conf
query_tskv1:
image: cnosdb/cnosdb:community-latest
container_name: query_tskv1.cnosdb.com
volumes:
- ./conf/query_tskv1:/etc/cnosdb
command:
- /bin/bash
- -c
- |
cnosdb run --config /etc/cnosdb/cnosdb.conf
query_tskv2:
image: cnosdb/cnosdb:community-latest
container_name: query_tskv2.cnosdb.com
volumes:
- ./conf/query_tskv2:/etc/cnosdb
command:
- /bin/bash
- -c
- |
cnosdb run --config /etc/cnosdb/cnosdb.conf