version: '3' services: jaeger: image: jaegertracing/all-in-one:latest pull_policy: build environment: - COLLECTOR_OTLP_ENABLED=true - LOG_LEVEL=debug restart: unless-stopped networks: - traefik-public grafana: image: grafana/grafana-oss pull_policy: build volumes: - grafana-data:/var/lib/grafana restart: unless-stopped user: '0' networks: - traefik-public loki: image: grafana/loki:2.8.0 pull_policy: build ports: - "3100:3100" volumes: - ./loki.yaml:/etc/loki/local-config.yaml command: -config.file=/etc/loki/local-config.yaml networks: - traefik-public promtail: image: grafana/promtail:2.8.0 pull_policy: build volumes: - ./promtail.yaml:/etc/promtail/config.yml command: -config.file=/etc/promtail/config.yml networks: - traefik-public prometheus: image: prom/prometheus:latest pull_policy: build restart: unless-stopped volumes: - prometheus-data:/prometheus - ./prometheus.yml:/etc/prometheus/prometheus.yml command: - '--config.file=/etc/prometheus/prometheus.yml' - '--storage.tsdb.path=/prometheus' - '--web.console.libraries=/etc/prometheus/console_libraries' - '--web.console.templates=/etc/prometheus/consoles' - '--web.enable-lifecycle' networks: - traefik-public user: '0' volumes: grafana-data: prometheus-data: networks: traefik-public: external: true