Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - version: '3.6'
 - services:
 - demo-kafka-elastic:
 - image: aironman/demo-kafka-elastic:0.0.1-SNAPSHOT
 - deploy:
 - replicas: 5
 - resources:
 - limits:
 - cpus: "0.5"
 - memory: 512M
 - restart_policy:
 - condition: on-failure
 - demo-quartz:
 - image: aironman/demo-quartz:0.0.1-SNAPSHOT
 - deploy:
 - replicas: 5
 - resources:
 - limits:
 - cpus: "0.5"
 - memory: 512M
 - restart_policy:
 - condition: on-failure
 - zookeeper:
 - image: wurstmeister/zookeeper
 - ports:
 - - "2181:2181"
 - kafka:
 - image: wurstmeister/kafka
 - ports:
 - - "9092:9092"
 - environment:
 - KAFKA_BROKER_ID: 1
 - KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
 - KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
 - KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092
 - volumes:
 - - /var/run/docker.sock:/var/run/docker.sock
 - elastic:
 - image: elasticsearch:2.4.6-alpine
 - container_name: elastic
 - environment:
 - - cluster.name=elastic-cluster
 - - http.host=0.0.0.0
 - - transport.host=0.0.0.0
 - - discovery.type=single-node
 - - xpack.security.enabled=false
 - - client.transport.sniff=false
 - - client.transport.ignore_cluster_name= true
 - volumes:
 - - ./esdata/:/usr/share/elasticsearch/data/
 - ports:
 - - "9200:9200"
 - - "9700:9700"
 - - "9300:9300"
 - kibana:
 - image: seeruk/docker-kibana-sense:4.5
 - ports:
 - - "5601:5601"
 - environment:
 - - ELASTICSEARCH_URL=http://elastic:9200
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment