Skip to content
Snippets Groups Projects
Commit defc6b95 authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-970: add loki docker-compose file

parent f4a9e0c0
Branches
Tags
1 merge request!447Resolve L2SS-970 "Add loki instance"
#
# Docker compose file that launches a LOKI instance.
# See https://grafana.com/docs/loki/latest/installation/docker/
#
#
version: "3"
services:
loki:
image: grafana/loki:2.6.0
container_name: ${CONTAINER_NAME_PREFIX}loki
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
networks:
- control
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
promtail:
image: grafana/promtail:2.6.0
container_name: ${CONTAINER_NAME_PREFIX}promtail
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
volumes:
- /var/log:/var/log
command: -config.file=/etc/promtail/config.yml
networks:
- control
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment