-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
72 lines (71 loc) · 1.67 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
version: '2'
services:
cassandra-1:
image: cassandra:${CASSTAG}
networks:
- stargate
mem_limit: 2G
environment:
- HEAP_NEWSIZE=128M
- MAX_HEAP_SIZE=1024M
- CASSANDRA_CLUSTER_NAME=c3-${CASSTAG}-cluster
cassandra-2:
image: cassandra:${CASSTAG}
networks:
- stargate
mem_limit: 2G
depends_on:
- cassandra-1
environment:
- HEAP_NEWSIZE=128M
- MAX_HEAP_SIZE=1024M
- CASSANDRA_SEEDS=cassandra-1
- CASSANDRA_CLUSTER_NAME=c3-${CASSTAG}-cluster
cassandra-3:
image: cassandra:${CASSTAG}
networks:
- stargate
mem_limit: 2G
depends_on:
- cassandra-2
environment:
- HEAP_NEWSIZE=128M
- MAX_HEAP_SIZE=1024M
- CASSANDRA_SEEDS=cassandra-1
- CASSANDRA_CLUSTER_NAME=c3-${CASSTAG}-cluster
coordinator:
image: stargateio/coordinator-3_11:${SGTAG}
depends_on:
- cassandra-1
networks:
- stargate
ports:
- "9042:9042"
- "8081:8081"
- "8084:8084"
- "8090:8090"
mem_limit: 2G
environment:
- JAVA_OPTS="-Xmx2G"
- CLUSTER_NAME=c3-${CASSTAG}-cluster
- CLUSTER_VERSION=3.11
- SEED=cassandra-1
- RACK_NAME=rack1
- DATACENTER_NAME=datacenter1
- ENABLE_AUTH=true
dynamoapi:
image: liboxuanhk/cassandra-dynamodb-adapter:${PROJTAG}
depends_on:
- coordinator
networks:
- stargate
ports:
- "8082:8082"
mem_limit: 2G
environment:
- QUARKUS_GRPC_CLIENTS_BRIDGE_HOST=coordinator
- QUARKUS_GRPC_CLIENTS_BRIDGE_PORT=8091
- QUARKUS_HTTP_ACCESS_LOG_ENABLED=${REQUESTLOG}
- QUARKUS_LOG_LEVEL=${LOGLEVEL}
networks:
stargate: