1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:29 +02:00
dockerfiles/logstash/docker-compose.yml
2018-01-05 14:43:36 +08:00

13 lines
341 B
YAML

logstash:
image: docker.elastic.co/logstash/logstash:6.1.1
ports:
- "5044:5044"
- "9600:9600"
volumes:
- ./data/logstash.yml:/usr/share/logstash/config/logstash.yml
- ./data/pipeline:/usr/share/logstash/pipeline
- /usr/share/logstash/vendor/bundle
environment:
LS_JAVA_OPTS: "-Xms1g -Xmx1g"
restart: always