Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db:
- build:
- context: .
- dockerfile: Dockerfile.postgres
- ports:
- - "5432:5432"
- environment:
- POSTGRES_PASSWORD: "postgres"
- POSTGRES_USER: "postgres"
- PGDATA: "/var/lib/postgresql/data/pgdata"
- zookeeper:
- #image: mesoscloud/zookeeper:3.4.8-ubuntu-14.04
- build:
- context: .
- dockerfile: Dockerfile.zookeeper
- ports:
- - "2181:2181"
- environment:
- MYID: "1"
- kafka:
- build:
- context: .
- dockerfile: Dockerfile.kafka
- ports:
- - "9092:9092"
- environment:
- KAFKA_ADVERTISED_HOST_NAME: kafka
- KAFKA_ADVERTISED_PORT: 9092
- KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181/kafka
- KAFKA_CREATE_TOPICS: "data-connector-inbound:4:1"
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- depends_on:
- - zookeeper
- sandbox:
- #image: sequenceiq/spark:1.6.0
- build:
- context: .
- dockerfile: Dockerfile.sandbox
- ports:
- - "8088:8088"
- - "8042:8042"
- - "4040-4044:4040-4044"
- command: -d
- volumes:
- - "hadoop:/usr/local/hadoop"
- - "spark:/usr/local/spark"
- - "/home/vagrant/data/spark:/opt/data"
- cassandra:
- image: cassandra
- ports:
- - "9042:9042"
- jobserver:
- build:
- context: .
- dockerfile: Dockerfile.jobserver
- ports:
- - "8090:8090"
- - "9999:9999"
- volumes_from:
- - sandbox:ro
- depends_on:
- - sandbox
- nifi:
- image: mkobit/nifi
- ports:
- - "8080:8080"
- - "8081:8081"
- volumes:
- - "/home/vagrant/data/nifi:/opt/nifi/data"
- elasticsearch:
- image: elasticsearch:latest
- command: elasticsearch -Des.network.host=0.0.0.0
- ports:
- - "9200:9200"
- - "9300:9300"
- logstash:
- build: logstash/
- command: logstash -f /etc/logstash/conf.d/logstash.conf
- volumes:
- - ./logstash/log:/etc/log
- ports:
- - "5000:5000"
- depends_on:
- - elasticsearch
- - kafka
- - zookeeper
- kibana:
- build: kibana/
- volumes:
- - ./kibana/config/:/opt/kibana/config/
- ports:
- - "5601:5601"
- volumes:
- spark: {}
- hadoop: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement