2018-05-11 14:13:39 +03:00
|
|
|
version: '3.3'
|
|
|
|
|
services:
|
|
|
|
|
zookeeper:
|
|
|
|
|
image: wurstmeister/zookeeper
|
|
|
|
|
networks:
|
|
|
|
|
- core
|
|
|
|
|
ports:
|
|
|
|
|
- "2181:2181"
|
|
|
|
|
|
|
|
|
|
cassandra-tb:
|
2018-05-11 17:38:25 +03:00
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile.cassandra
|
2018-05-11 14:13:39 +03:00
|
|
|
image: cassandra
|
|
|
|
|
networks:
|
|
|
|
|
- core
|
|
|
|
|
ports:
|
|
|
|
|
- "7199:7199"
|
|
|
|
|
- "9160:9160"
|
|
|
|
|
- "9042:9042"
|
2018-05-11 17:38:25 +03:00
|
|
|
volumes:
|
|
|
|
|
- /cassandra:/var/lib/cassandra
|
|
|
|
|
- ./db-schema:/docker-entrypoint-initdb.d/
|
2018-05-11 14:13:39 +03:00
|
|
|
redis:
|
|
|
|
|
image: redis:4.0
|
|
|
|
|
networks:
|
|
|
|
|
- core
|
|
|
|
|
command: redis-server --maxclients 2000
|
|
|
|
|
ports:
|
|
|
|
|
- "6379:6379"
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
core:
|
|
|
|
|
|