-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
75 lines (67 loc) · 1.78 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
65
66
67
68
69
70
71
72
73
74
75
---
# admin utilities
# docker exec -it cquill-scylladb cqlsh
# docker exec -it cquill-scylladb nodetool
# docs https://hub.docker.com/r/scylladb/scylla
services:
cassandra_3:
container_name: cquill-cassandra
image: cassandra:3
healthcheck:
test: [ "CMD", "cqlsh", "-e", "describe cluster" ]
start_period: 30s
interval: 2s
timeout: 5s
retries: 30
ports:
- "9042:9042" # CQL protocol
cassandra_4_1:
container_name: cquill-cassandra
image: cassandra:4.1
healthcheck:
test: [ "CMD", "cqlsh", "-e", "describe cluster" ]
start_period: 30s
interval: 2s
timeout: 5s
retries: 30
ports:
- "9042:9042" # CQL protocol
cassandra_5_0:
container_name: cquill-cassandra
image: cassandra:5.0
healthcheck:
test: [ "CMD", "cqlsh", "-e", "describe cluster" ]
start_period: 30s
interval: 2s
timeout: 5s
retries: 30
ports:
- "9042:9042" # CQL protocol
scylladb_6_2:
container_name: cquill-scylladb
image: scylladb/scylla:6.2
healthcheck:
test: [ "CMD", "cqlsh", "-e", "describe cluster" ]
start_period: 30s
interval: 2s
timeout: 5s
retries: 30
ports:
- "7001:7001" # inter-node gossip
- "9042:9042" # CQL protocol
- "9180:9180" # Prometheus metrics
- "10000:10000" # ScyllaDB API
scylladb_5_4:
container_name: cquill-scylladb
image: scylladb/scylla:5.4
healthcheck:
test: [ "CMD", "cqlsh", "-e", "describe cluster" ]
start_period: 30s
interval: 2s
timeout: 5s
retries: 30
ports:
- "7001:7001" # inter-node gossip
- "9042:9042" # CQL protocol
- "9180:9180" # Prometheus metrics
- "10000:10000" # ScyllaDB API