version: "3" services: elasticsearch: image: elasticsearch:6.4.2 ports: - 127.0.0.1:9200:9200 - 127.0.0.1:9300:9300