summaryrefslogtreecommitdiffstats
path: root/fluent-bit/examples/tracing/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/examples/tracing/docker-compose.yml')
-rw-r--r--fluent-bit/examples/tracing/docker-compose.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/fluent-bit/examples/tracing/docker-compose.yml b/fluent-bit/examples/tracing/docker-compose.yml
new file mode 100644
index 00000000..94d00634
--- /dev/null
+++ b/fluent-bit/examples/tracing/docker-compose.yml
@@ -0,0 +1,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