-
Notifications
You must be signed in to change notification settings - Fork 155
/
docker-compose.yml
executable file
·61 lines (57 loc) · 1.76 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
version: "3.0"
services:
sunbird-neo4j:
image: neo4j:3.3.0
container_name: "sunbird_neo4j"
ports:
- 7473:7473
- 7474:7474
- 7687:7687
volumes:
- $sunbird_dbs_path/neo4j/data:/var/lib/neo4j/data
- $sunbird_dbs_path/neo4j/logs:/var/lib/neo4j/logs
- $sunbird_dbs_path/neo4j/plugins:/var/lib/neo4j/plugins
environment:
NEO4J_AUTH: none
NEO4J_dbms_connector_https_advertised__address: "localhost:7473"
NEO4J_dbms_connector_http_advertised__address: "localhost:7474"
NEO4J_dbms_connector_bolt_advertised__address: "localhost:7687"
sunbird-cassandra:
image: cassandra:3.11.11
container_name: "sunbird_cassandra"
ports:
- 9042:9042
depends_on:
- sunbird-neo4j
volumes:
- $sunbird_dbs_path/cassandra/data:/var/lib/cassandra
- $sunbird_dbs_path/cassandra/logs:/opt/cassandra/logs
- $sunbird_dbs_path/cassandra/backups:/mnt/backups
sunbird-redis:
image: redis:6.0.8
container_name: "sunbird_redis"
ports:
- 6379:6379
command: redis-server /usr/local/etc/redis/redis.conf
volumes:
- $sunbird_dbs_path/redis/redis.conf:/usr/local/etc/redis/redis.conf
zookeeper:
image: 'wurstmeister/zookeeper:latest'
container_name: zookeeper
ports:
- "2181:2181"
environment:
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:2181
kafka:
image: 'wurstmeister/kafka:2.12-2.5.1'
container_name: kafka
ports:
- "9092:9092"
environment:
- KAFKA_BROKER_ID=1
- KAFKA_LISTENERS=PLAINTEXT://:9092
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes
depends_on:
- zookeeper