mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 08:26:19 +01:00
d8258be292
* deployment/docker: add VictoriaLogs configuration Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * deployment/docker/victorialogs: remove outdated comment It was added in order to indicate that it is required to build VictoriaLogs manually before starting it at the time there was no public release available. Currently, there is a public tag and it is not required to build it from sources. Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * deployment/docker/victorialogs/fluentbit: include log path in stream configuration Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * deployment/docker: add reference to monitoring setup for VictoriaLogs Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> --------- Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
25 lines
578 B
YAML
25 lines
578 B
YAML
version: "3"
|
|
|
|
services:
|
|
promtail:
|
|
image: grafana/promtail:2.8.2
|
|
volumes:
|
|
- /var/lib/docker/containers:/var/lib/docker/containers:ro
|
|
- /var/log:/var/log:ro
|
|
- ./config.yml:/etc/promtail/docker-config.yml:ro
|
|
command: -config.file=/etc/promtail/docker-config.yml
|
|
ports:
|
|
- "5140:5140"
|
|
|
|
vlogs:
|
|
image: docker.io/victoriametrics/victoria-logs:v0.3.0-victorialogs
|
|
volumes:
|
|
- victorialogs-promtail-docker:/vlogs
|
|
ports:
|
|
- '9428:9428'
|
|
command:
|
|
- -storageDataPath=/vlogs
|
|
|
|
volumes:
|
|
victorialogs-promtail-docker:
|