version: '2'
services:
    springbooter-elasticsearch:
        image: <%= DOCKER_SPRINGBOOTER_ELASTICSEARCH %>
        ports:
            - 9200:9200
            - 9300:9300
        # Uncomment this section to have elasticsearch data persisted to a volume
        #volumes:
        #   - ./log-data:/usr/share/elasticsearch/data
    springbooter-logstash:
        image: <%= DOCKER_SPRINGBOOTER_LOGSTASH %>
        command: logstash -f /conf/logstash.conf
        ports:
            - 5000:5000/udp
        # Uncomment this section to have logstash config loaded from a volume
        #volumes:
        #    - ./log-conf/:/conf
    springbooter-console:
        image: <%= DOCKER_SPRINGBOOTER_CONSOLE %>
        ports:
            - 5601:5601
