-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (53 loc) · 1.22 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
version: '3'
services:
cassandra1:
image: cassandra
restart: unless-stopped
cap_add:
- CAP_SYS_NICE # Cassandra use mbind on NUMA system
labels:
glouton.enable: "false"
environment:
- "MAX_HEAP_SIZE=128M"
- "HEAP_NEWSIZE=24M"
- "CASSANDRA_SEEDS=cassandra1,cassandra2"
networks:
default:
ipv4_address: 172.28.0.51
cassandra2:
image: cassandra
restart: unless-stopped
cap_add:
- CAP_SYS_NICE # Cassandra use mbind on NUMA system
labels:
glouton.enable: "false"
environment:
- "MAX_HEAP_SIZE=128M"
- "HEAP_NEWSIZE=24M"
- "CASSANDRA_SEEDS=cassandra1,cassandra2"
networks:
default:
ipv4_address: 172.28.0.52
cassandra3:
image: cassandra
restart: unless-stopped
cap_add:
- CAP_SYS_NICE # Cassandra use mbind on NUMA system
labels:
glouton.enable: "false"
environment:
- "MAX_HEAP_SIZE=128M"
- "HEAP_NEWSIZE=24M"
- "CASSANDRA_SEEDS=cassandra1,cassandra2"
networks:
default:
ipv4_address: 172.28.0.53
goclient:
build: ./goclient
pyclient:
build: pyclient
networks:
default:
ipam:
config:
- subnet: 172.28.0.0/16