Loki

services:
  loki:
    image: grafana/loki:latest
    container_name: loki
    ports:
      - 3100:3100
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./loki-config.yml:/etc/loki/loki-config.yaml
      - loki_data:/loki
    networks:
      - monitoring
    labels:
      org.label-schema.group: monitoring
    restart: unless-stopped
    
volumes:
  loki_data:
networks:
  monitoring:
    name: monitoring
    external: true