VictoriaMetrics/deployment/docker/victorialogs/logstash/docker-compose.yml
2024-06-17 12:13:25 +02:00

27 lines
584 B
YAML

version: '3'
services:
logstash:
build:
context: .
dockerfile: Dockerfile
restart: on-failure
volumes:
- ./pipeline.conf:/usr/share/logstash/pipeline/logstash.conf:ro
- ./logstash.yml:/usr/share/logstash/config/logstash.yml:ro
depends_on: [victorialogs]
ports:
- "5140:5140"
victorialogs:
image: docker.io/victoriametrics/victoria-logs:v0.20.0-victorialogs
volumes:
- victorialogs-logstash-vl:/vlogs
ports:
- "9428:9428"
command:
- -storageDataPath=/vlogs
volumes:
victorialogs-logstash-vl: