-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.override.cassandra-dse.yml
63 lines (59 loc) · 1.54 KB
/
docker-compose.override.cassandra-dse.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
volumes:
common-cassandra-dse-db:
name: 'common-cassandra-dse-db'
services:
cassandra-node1:
image: ${COMPOSE_PROJECT_NAME}_cassandra_node1
build:
context: ${DOCKER_BUILD_CONTEXT_DIR}
dockerfile: cassandra-dse/cassandra-dse.Dockerfile
container_name: ${COMPOSE_PROJECT_NAME}_cassandra_node1
hostname: cassandra-node1
env_file:
- .envs/cassandra-dse.env
ulimits:
memlock: -1
nproc: 32768
nofile: 100000
networks:
common-net:
aliases:
- common-cassandra-node1
cassandra-node2:
image: ${COMPOSE_PROJECT_NAME}_cassandra_node2
build:
context: ${DOCKER_BUILD_CONTEXT_DIR}
dockerfile: cassandra-dse/cassandra-dse.Dockerfile
container_name: ${COMPOSE_PROJECT_NAME}_cassandra_node2
hostname: cassandra-node2
env_file:
- .envs/cassandra-dse.env
ulimits:
memlock: -1
nproc: 32768
nofile: 100000
networks:
common-net:
aliases:
- common-cassandra-node2
depends_on:
- cassandra-node1
cassandra-node3:
image: ${COMPOSE_PROJECT_NAME}_cassandra_node3
build:
context: ${DOCKER_BUILD_CONTEXT_DIR}
dockerfile: cassandra-dse/cassandra-dse.Dockerfile
container_name: ${COMPOSE_PROJECT_NAME}_cassandra_node3
hostname: cassandra-node3
env_file:
- .envs/cassandra-dse.env
ulimits:
memlock: -1
nproc: 32768
nofile: 100000
networks:
common-net:
aliases:
- common-cassandra-node3
depends_on:
- cassandra-node2