summaryrefslogtreecommitdiffstats
path: root/fluent-bit/examples/tracing/docker-compose.yml
blob: 94d006349a59eb4751593517dfb1c00f408cc0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: "3"

services:
  fluent-bit:
    build:
      context: ../..
      dockerfile: dockerfiles/Dockerfile
      args:
        - FLB_CHUNK_TRACE=On
    ports:
      - "2020:2020"
    volumes:
      - ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
    command:
      - /fluent-bit/bin/fluent-bit
      - -Z
      - -c
      - /fluent-bit/etc/fluent-bit.conf

  enable-tracing:
    image: ubuntu:20.04
    command: /enable-tracing.sh
    volumes:
      - ./enable-tracing.sh:/enable-tracing.sh:ro
    environment:
      REMOTE_HOST: fluent-bit