mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
27 lines
676 B
YAML
27 lines
676 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"
|
||
|
|
||
|
# Run `make package-victoria-logs` to build victoria-logs image
|
||
|
victorialogs:
|
||
|
image: docker.io/victoriametrics/victoria-logs:heads-logs-examples-0-g66b42a677-dirty-b95f1d4b
|
||
|
volumes:
|
||
|
- victorialogs-logstash-vl:/vlogs
|
||
|
ports:
|
||
|
- "9428:9428"
|
||
|
command:
|
||
|
- -storageDataPath=/vlogs
|
||
|
|
||
|
volumes:
|
||
|
victorialogs-logstash-vl:
|