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 | 95507c4 | 2017-09-19 10:41:04 -0400 | [diff] [blame] | 14 | version: '3' |
| 15 | |
| 16 | services: |
| 17 | logstash: |
David K. Bainbridge | 737b74f | 2018-01-22 12:57:52 -0800 | [diff] [blame] | 18 | image: "${REGISTRY}${REPOSITORY}voltha-logstash:${TAG:-latest}" |
Stephane Barbarie | 95507c4 | 2017-09-19 10:41:04 -0400 | [diff] [blame] | 19 | environment: |
| 20 | - log.level=info |
| 21 | - xpack.monitoring.enabled=false |
| 22 | command: logstash -f /etc/logstash/conf.d/ |
| 23 | volumes: |
| 24 | - ./compose/elasticsearch/logstash/config:/etc/logstash/conf.d |
| 25 | ports: |
| 26 | - "5000:5000" |
| 27 | networks: |
| 28 | - kafka-net |
| 29 | |
| 30 | networks: |
| 31 | kafka-net: |
| 32 | external: |
| 33 | name: kafka_net |