Zack Williams | 41513bf | 2018-07-07 20:08:35 -0700 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
Stephane Barbarie | 3eab2bb | 2017-04-24 15:04:23 -0400 | [diff] [blame] | 14 | version: '2' |
| 15 | |
| 16 | services: |
| 17 | elasticsearch: |
David K. Bainbridge | 737b74f | 2018-01-22 12:57:52 -0800 | [diff] [blame] | 18 | image: "docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_TAG:-5.6.0}" |
Stephane Barbarie | 3eab2bb | 2017-04-24 15:04:23 -0400 | [diff] [blame] | 19 | environment: |
| 20 | - transport.host=localhost |
| 21 | - transport.tcp.port=9300 |
| 22 | - xpack.security.enabled=false |
| 23 | ports: |
| 24 | - "9200:9200" |
| 25 | - "9300:9300" |