blob: 9f67440ada4b939158c3eb9fed3a7ea4c3f6932a (
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
27
28
29
30
31
32
33
34
35
36
37
38
|
version: "3.4"
services:
fb-baseline:
image: ${FB_BASELINE_IMAGE}
volumes:
- log-volume:/logs:ro
- ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
fb-delta:
build:
context: ../..
dockerfile: dockerfiles/Dockerfile
target: production
volumes:
- log-volume:/logs:ro
- ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
ports:
- "2020:2020"
data-generator:
image: fluentbitdev/fluent-bit-ci:benchmark
command: bash /scripts/entrypoint.sh
volumes:
- log-volume:/logs:rw
- ./scripts:/scripts:ro
environment:
LOG_PREFIX: ${LOG_PREFIX}
LOG_COUNT: ${LOG_COUNT}
LOG_SIZE: ${LOG_SIZE}
# For multiline set this to >0
LINE_COUNT: ${LINE_COUNT}
# For multiline set this to the sleep period between log entries rather than the rate
LOG_RATE: ${LOG_RATE}
volumes:
log-volume:
|