forked from amrkhaledccd/my-moments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (40 loc) · 874 Bytes
/
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
version: '3'
services:
kafka:
image: wurstmeister/kafka
container_name: "kafka"
ports:
- "9092:9092"
environment:
- KAFKA_ADVERTISED_HOST_NAME=127.0.0.1
- KAFKA_ADVERTISED_PORT=9092
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
depends_on:
- zookeeper
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
environment:
- KAFKA_ADVERTISED_HOST_NAME=zookeeper
mongodb:
image: mongo:latest
container_name: "mongodb"
environment:
- MONGO_LOG_DIR=/dev/null
ports:
- 27017:27017
volumes:
- /home/amr/instaMongo:/data/db
neo4j:
image: neo4j:latest
ports:
- "7474:7474"
- "7687:7687"
cassandra:
image: cassandra:latest
ports:
- "7000:7000"
- "9042:9042"
volumes:
- /home/amr/instaCassandra:/var/lib/cassandra