Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
573 B
12
Indexable
common:
  instance_addr: 127.0.0.1
  path_prefix: /tmp/loki
  storage:
    filesystem:
      chunks_directory: /tmp/loki/chunks
      rules_directory: /tmp/loki/rules
  replication_factor: 1
  ring:
    kvstore:
      store: inmemory



  loki:
    image: grafana/loki:2.8.0
    container_name: loki
    ports:
    - "3200:3100"
    command: -config.file=/etc/loki/config.yml
    volumes:
     - /home/qardy/logging/loki/config.yml:/etc/loki/config.yml
     - /home/qardy/logging/loki/rules.yml:/etc/loki/rules/prod/rules.yml
     - loki-data2:/tmp