-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
44 lines (42 loc) · 1.21 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
version: "3.7"
services:
node1:
image: ${SCYLLA_IMAGE}:${SCYLLA_VERSION}
command: ${SCYLLA_ARGS} --seeds 192.168.100.100 --skip-wait-for-gossip-to-settle 0
networks:
public:
ipv4_address: 192.168.100.100
volumes:
- type: bind
source: ./testdata/config/scylla.yaml
target: /etc/scylla/scylla.yaml
- "./testdata/tls:/etc/scylla/tls"
node2:
image: ${SCYLLA_IMAGE}:${SCYLLA_VERSION}
command: ${SCYLLA_ARGS} --seeds 192.168.100.100 --skip-wait-for-gossip-to-settle 0
networks:
public:
ipv4_address: 192.168.100.101
volumes:
- type: bind
source: ./testdata/config/scylla.yaml
target: /etc/scylla/scylla.yaml
- "./testdata/tls:/etc/scylla/tls"
node3:
image: ${SCYLLA_IMAGE}:${SCYLLA_VERSION}
command: ${SCYLLA_ARGS} --seeds 192.168.100.100,192.168.100.101 --skip-wait-for-gossip-to-settle 0
networks:
public:
ipv4_address: 192.168.100.102
volumes:
- type: bind
source: ./testdata/config/scylla.yaml
target: /etc/scylla/scylla.yaml
- "./testdata/tls:/etc/scylla/tls"
networks:
public:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.100.0/24