VictoriaMetrics/deployment/docker/victorialogs/logstash/compose.yml

16 lines
394 B
YAML
Raw Normal View History

include:
- ../compose.yml
services:
logstash:
build:
context: .
user: root
restart: on-failure
volumes:
- /var/lib/docker/containers:/var/lib/docker/containers
- ${PWD}/pipeline.conf:/usr/share/logstash/pipeline/logstash.conf:ro
- ./logstash.yml:/usr/share/logstash/config/logstash.yml:ro
depends_on: [victorialogs]
ports:
- "5140:5140"