-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
45 lines (44 loc) · 1.12 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
version: '3.4'
services:
redis-cache:
image: redis:latest
container_name: redis-cache
restart: always
network_mode: "host"
volumes:
- ~/data/docker/redis:/data
cassandra-db:
image: cassandra:latest
container_name: cassandra-db
restart: always
network_mode: "host"
volumes:
- ~/data/docker/cassandra:/var/lib/cassandra
tcp-data-streaming:
image: nicolanardino/tcp-data-streaming:2.0
container_name: tcp-data-streaming
depends_on:
- cassandra-db
restart: always
network_mode: "host"
spark-streaming:
image: nicolanardino/spark-streaming:2.0
container_name: spark-streaming
depends_on:
- tcp-data-streaming
restart: always
network_mode: "host"
cassandra-microservice:
image: nicolanardino/cassandra-microservice:2.0
container_name: cassandra-microservice
depends_on:
- cassandra-db
restart: always
network_mode: "host"
distributed-cache:
image: nicolanardino/distributed-cache:2.0
container_name: distributed-cache
depends_on:
- redis-cache
restart: always
network_mode: "host"