Expose UDP on Logstash host port (#463)

This commit is contained in:
Denis 2020-02-10 11:29:43 +03:00 committed by GitHub
parent 1d5d04baf5
commit 69abb4a2a5
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ services:
target: /usr/share/logstash/pipeline target: /usr/share/logstash/pipeline
read_only: true read_only: true
ports: ports:
- "5000:5000" - "5000:5000/tcp"
- "5000:5000/udp"
- "9600:9600" - "9600:9600"
environment: environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m" LS_JAVA_OPTS: "-Xmx256m -Xms256m"