-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (48 loc) · 1.36 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
version: "3"
services:
scylla-node1:
image: scylladb/scylla:4.4.0
restart: always
command: --seeds=scylla-node1,scylla-node2 --smp 1 --memory 750M
--overprovisioned 1 --api-address 0.0.0.0
volumes:
- "./pkg/scylla/scylla.yaml:/etc/scylla/scylla.yaml"
- "./pkg/scylla/cassandra-rackdc.properties.dc1:/etc/scylla/cassandra-rac\
kdc.properties"
- "./pkg/scylla/init.txt:/init.txt"
ports:
- 1801:9042
networks:
web:
null
scylla-node2:
image: scylladb/scylla:4.4.0
restart: always
command: --seeds=scylla-node1,scylla-node2 --smp 1 --memory 750M
--overprovisioned 1 --api-address 0.0.0.0
volumes:
- "./pkg/scylla/scylla.yaml:/etc/scylla/scylla.yaml"
- "./pkg/scylla/cassandra-rackdc.properties.dc1:/etc/scylla/cassandra-rac\
kdc.properties"
ports:
- 1802:9042
networks:
web:
null
scylla-node3:
image: scylladb/scylla:4.4.0
restart: always
command: --seeds=scylla-node1,scylla-node2 --smp 1 --memory 750M
--overprovisioned 1 --api-address 0.0.0.0
volumes:
- "./pkg/scylla/scylla.yaml:/etc/scylla/scylla.yaml"
- "./pkg/scylla/cassandra-rackdc.properties.dc1:/etc/scylla/cassandra-rac\
kdc.properties"
ports:
- 1803:9042
networks:
web:
null
networks:
web:
driver: bridge