version: "3.3"

services:
    elasticsearch:
        image: elasticsearch:5
        command:
            - elasticsearch
            - -Ediscovery.zen.minimum_master_nodes=1
        ports:
            - "9200:9200"
            - "9300:9300"
    kibana:
        image: kibana:5
        ports:
            - "5601:5601"
        links:
            - elasticsearch

elasticsearch:
    image: elasticsearch:5
    command:
        - elasticsearch
        - -Ediscovery.zen.minimum_master_nodes=1
    ports:
        - "9200:9200"
        - "9300:9300"
kibana:
    image: kibana:5
    ports:
        - "5601:5601"
    links:
        - elasticsearch

Use docker-compose syntax v1 to improve compatibility
Use docker-compose syntax v1 to improve compatibility
