-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (63 loc) · 1.44 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
version: "3.7"
networks:
public:
name: seella_test
driver: bridge
ipam:
driver: default
config:
- subnet: 172.10.0.0/16
services:
scylla1:
image: scylladb/scylla
networks:
public:
ipv4_address: 172.10.0.2
volumes:
- type: bind
source: ./tests/data
target: /data
command: |
--rpc-address 172.10.0.2
--listen-address 172.10.0.2
--seeds 172.10.0.2
--skip-wait-for-gossip-to-settle 0
--ring-delay-ms 0
--smp 1
healthcheck: &scylla-healthcheck
test: [ "CMD", "cqlsh", "-e", "select * from system.local" ]
interval: 5s
timeout: 5s
retries: 60
scylla2:
image: scylladb/scylla
networks:
public:
ipv4_address: 172.10.0.3
command: |
--rpc-address 172.10.0.3
--listen-address 172.10.0.3
--seeds 172.10.0.2
--skip-wait-for-gossip-to-settle 0
--ring-delay-ms 0
--smp 1
healthcheck: *scylla-healthcheck
depends_on:
scylla1:
condition: service_healthy
scylla3:
image: scylladb/scylla
networks:
public:
ipv4_address: 172.10.0.4
command: |
--rpc-address 172.10.0.4
--listen-address 172.10.0.4
--seeds 172.10.0.2,172.10.0.3
--skip-wait-for-gossip-to-settle 0
--ring-delay-ms 0
--smp 1
healthcheck: *scylla-healthcheck
depends_on:
scylla2:
condition: service_healthy