2023-06-21 00:18:52 +02:00
|
|
|
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:
|
2024-07-05 01:22:06 +02:00
|
|
|
image: docker.io/victoriametrics/victoria-logs:v0.27.1-victorialogs
|
2023-06-21 00:18:52 +02:00
|
|
|
volumes:
|
|
|
|
- victorialogs-logstash-vl:/vlogs
|
|
|
|
ports:
|
|
|
|
- "9428:9428"
|
|
|
|
command:
|
|
|
|
- -storageDataPath=/vlogs
|
|
|
|
|
|
|
|
volumes:
|
2023-07-18 08:19:46 +02:00
|
|
|
victorialogs-logstash-vl:
|